/*
 * This file was automatically generated by EvoSuite
 * Thu Sep 20 14:21:28 GMT 2018
 */

package uk.ac.sanger.artemis.components;

import org.junit.Test;
import static org.junit.Assert.*;
import java.awt.datatransfer.Clipboard;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
import uk.ac.sanger.artemis.EntryGroup;
import uk.ac.sanger.artemis.Selection;
import uk.ac.sanger.artemis.SimpleEntryGroup;
import uk.ac.sanger.artemis.components.SelectionInfoDisplay;

@RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true, useJEE = true) 
public class CanvasPanel_ESTest extends CanvasPanel_ESTest_scaffolding {

  @Test(timeout = 4000)
  public void test0()  throws Throwable  {
      Selection selection0 = new Selection((Clipboard) null);
      SelectionInfoDisplay selectionInfoDisplay0 = new SelectionInfoDisplay((EntryGroup) null, selection0);
      int int0 = selectionInfoDisplay0.getFontWidth();
      assertEquals(11, int0);
  }

  @Test(timeout = 4000)
  public void test1()  throws Throwable  {
      SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
      Clipboard clipboard0 = new Clipboard("_v}WOe4G");
      Selection selection0 = new Selection(clipboard0);
      SelectionInfoDisplay selectionInfoDisplay0 = new SelectionInfoDisplay(simpleEntryGroup0, selection0);
      int int0 = selectionInfoDisplay0.getFontMaxAscent();
      assertEquals(13, int0);
  }

  @Test(timeout = 4000)
  public void test2()  throws Throwable  {
      Selection selection0 = new Selection((Clipboard) null);
      SelectionInfoDisplay selectionInfoDisplay0 = new SelectionInfoDisplay((EntryGroup) null, selection0);
      int int0 = selectionInfoDisplay0.getFontHeight();
      assertEquals(16, int0);
  }

  @Test(timeout = 4000)
  public void test3()  throws Throwable  {
      SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
      Clipboard clipboard0 = new Clipboard("uk.ac.sanger.artemis.components.CanvasPanel");
      Selection selection0 = new Selection(clipboard0);
      SelectionInfoDisplay selectionInfoDisplay0 = new SelectionInfoDisplay(simpleEntryGroup0, selection0);
      int int0 = selectionInfoDisplay0.getFontDescent();
      assertEquals(3, int0);
  }

  @Test(timeout = 4000)
  public void test4()  throws Throwable  {
      Selection selection0 = new Selection((Clipboard) null);
      SelectionInfoDisplay selectionInfoDisplay0 = new SelectionInfoDisplay((EntryGroup) null, selection0);
      int int0 = selectionInfoDisplay0.getFontAscent();
      assertEquals(12, int0);
  }
}
