Summary

Test suite

Test case 1

  1: Track track0 = new Track(0.0, "Apply", "Apply", false, false, false, (Entry) null);
  2: DNADraw dNADraw0 = new DNADraw();
  3: Block block0 = new Block(" Line width", 0, 0, (Color) null, 0, track0, dNADraw0);
  4: GenericDocumentType genericDocumentType0 = new GenericDocumentType("rWWcPGC'\"", " Line width", "Apply");
  5: GenericDOMImplementation genericDOMImplementation0 = (GenericDOMImplementation)GenericDOMImplementation.getDOMImplementation();
  6: GenericDocument genericDocument0 = new GenericDocument(genericDocumentType0, genericDOMImplementation0);
  7: SVGGeneratorContext sVGGeneratorContext0 = SVGGeneratorContext.createDefault(genericDocument0);
  8: SVGGraphics2D sVGGraphics2D0 = new SVGGraphics2D(sVGGeneratorContext0, false);
  9: block0.drawCircular(sVGGraphics2D0);
 10: assertEquals(-0.0, block0.getAngStart(), 0.01);

Test case 2

  1: DefaultStyledDocument defaultStyledDocument0 = new DefaultStyledDocument();
  2: JTextPane jTextPane0 = new JTextPane(defaultStyledDocument0);
  3: PrintColorUIResource printColorUIResource0 = (PrintColorUIResource)jTextPane0.getCaretColor();
  4: Block block0 = new Block("uk.ac.sanger.artemis.util.ByteBuffer", 1602, 1602, printColorUIResource0, 1602, (Track) null);
  5: block0.setBstart(1602);
  6: assertEquals(1602, block0.getBend());
  7: assertEquals(1602.0F, block0.getStrokeSize(), 0.01F);
  8: assertEquals(1602, block0.getBstart());
  9: assertFalse(block0.isDrawLabel());

Test case 3

  1: Color color0 = Color.blue;
  2: Track track0 = new Track((-3713.411773178), (Entry) null);
  3: Block block0 = new Block("", 1198, 1198, color0, (-2134.4F), track0);
  4: block0.setArrowTail(true);
  5: assertTrue(block0.isArrowTail());

Test case 4

  1: Track track0 = new Track(0.0, "Apply", "Apply", false, false, false, (Entry) null);
  2: DNADraw dNADraw0 = new DNADraw();
  3: Block block0 = new Block(" Line width", 0, 0, (Color) null, 0, track0, dNADraw0);
  4: double double0 = block0.getMidAngle();
  5: assertEquals(0, block0.getBstart());
  6: assertEquals(0.0, double0, 0.01);
  7: assertFalse(block0.isDrawLabel());
  8: assertEquals(0, block0.getBend());

Test case 5

  1: JEditorPane jEditorPane0 = new JEditorPane("N(W", "N(W");
  2: PrintColorUIResource printColorUIResource0 = (PrintColorUIResource)jEditorPane0.getCaretColor();
  3: Block block0 = new Block("N(W", 800, 800, printColorUIResource0, 800, (Track) null);
  4: block0.isArrowTail();
  5: assertEquals(800, block0.getBstart());
  6: assertEquals(800.0F, block0.getStrokeSize(), 0.01F);
  7: assertEquals(800, block0.getBend());
  8: assertFalse(block0.isDrawLabel());

Test case 6

  1: Color color0 = Color.pink;
  2: Track track0 = new Track(226, "", false, false, (Entry) null);
  3: Block block0 = new Block("", 226, 226, color0, 226, track0);
  4: block0.setAngStart(0.0);
  5: assertFalse(block0.isDrawLabel());
  6: assertEquals(226, block0.getBend());
  7: assertEquals(226.0F, block0.getStrokeSize(), 0.01F);
  8: assertEquals(226, block0.getBstart());

Test case 7

  1: Color color0 = Color.green;
  2: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
  3: Entry entry0 = simpleEntryGroup0.createEntry("no existing sequence to annotate for ");
  4: Track track0 = new Track((-272.0), "no existing sequence to annotate for ", "no existing sequence to annotate for ", false, false, false, entry0);
  5: Block block0 = new Block("no existing sequence to annotate for ", 3, 3, color0, 3, track0);
  6: block0.setAngEnd(1524.1361511626649);

Test case 8

  1: Color color0 = Color.pink;
  2: Track track0 = new Track(226, "", false, false, (Entry) null);
  3: Block block0 = new Block("", 226, 226, color0, 226, track0);
  4: block0.setBend(120);
  5: assertEquals(120, block0.getBend());

Test case 9

  1: Color color0 = Color.pink;
  2: Track track0 = new Track(226, "", false, false, (Entry) null);
  3: Block block0 = new Block("", 226, 226, color0, 226, track0);
  4: block0.setColour(color0);
  5: assertEquals(226.0F, block0.getStrokeSize(), 0.01F);
  6: assertEquals(226, block0.getBstart());
  7: assertFalse(block0.isDrawLabel());
  8: assertEquals(226, block0.getBend());

Test case 10

  1: Vector<MockHijrahDate> vector0 = new Vector<MockHijrahDate>();
  2: Color color0 = Color.green;
  3: Track track0 = new Track((-796.2779F), "", false, false, (Entry) null);
  4: DNADraw dNADraw0 = new DNADraw(vector0, vector0, vector0, vector0);
  5: Block block0 = new Block("", (-32), (-32), color0, (-796.2779F), track0, dNADraw0);
  6: assertEquals((-32), block0.getBend());
  7: assertEquals((-32), block0.getBstart());
  8: 
  9: GenericDocumentType genericDocumentType0 = new GenericDocumentType("", "", "");
 10: GenericDOMImplementation genericDOMImplementation0 = new GenericDOMImplementation();
 11: GenericDocument genericDocument0 = new GenericDocument(genericDocumentType0, genericDOMImplementation0);
 12: SVGGraphics2D sVGGraphics2D0 = new SVGGraphics2D(genericDocument0);
 13: block0.drawLinear(sVGGraphics2D0);
 14: assertEquals((-796.2779F), block0.getStrokeSize(), 0.01F);
 15: assertFalse(block0.isDrawLabel());

Test case 11

  1: Color color0 = Color.green;
  2: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
  3: Entry entry0 = simpleEntryGroup0.createEntry("no existing sequence to annotate for ");
  4: Track track0 = new Track((-272.0), "no existing sequence to annotate for ", "no existing sequence to annotate for ", false, false, false, entry0);
  5: Block block0 = new Block("no existing sequence to annotate for ", 3, 3, color0, 3, track0);
  6: block0.setLabel("");
  7: assertFalse(block0.isDrawLabel());
  8: assertEquals(3.0F, block0.getStrokeSize(), 0.01F);

Test case 12

  1: SystemColor systemColor0 = SystemColor.text;
  2: DNADraw dNADraw0 = new DNADraw();
  3: Block block0 = new Block(",", (-332), (-332), systemColor0, 4.0F, (Track) null, dNADraw0);
  4: block0.setFeature((Feature) null);
  5: assertFalse(block0.isDrawLabel());
  6: assertEquals(4.0F, block0.getStrokeSize(), 0.01F);

Test case 13

  1: Color color0 = Color.CYAN;
  2: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
  3: Entry entry0 = simpleEntryGroup0.createEntry();
  4: Track track0 = new Track((-2636.6067F), entry0);
  5: Block block0 = new Block("-,DN^~*[_+w>", 0, 0, color0, (-2636.6067F), track0);
  6: block0.setTrack(track0);
  7: assertEquals((-2636.6067F), block0.getStrokeSize(), 0.01F);
  8: assertFalse(block0.isDrawLabel());

Test case 14

  1: SystemColor systemColor0 = SystemColor.textHighlight;
  2: DNADraw dNADraw0 = new DNADraw();
  3: Block block0 = new Block("rw", 270, (-5531), systemColor0, (-5531), (Track) null, dNADraw0);
  4: block0.getTransferDataFlavors();
  5: assertEquals((-5531), block0.getBend());
  6: assertEquals(270, block0.getBstart());
  7: assertEquals((-5531.0F), block0.getStrokeSize(), 0.01F);
  8: assertFalse(block0.isDrawLabel());

Test case 15

  1: JEditorPane jEditorPane0 = new JEditorPane("N(W", "N(W");
  2: PrintColorUIResource printColorUIResource0 = (PrintColorUIResource)jEditorPane0.getCaretColor();
  3: Block block0 = new Block("N(W", 800, 800, printColorUIResource0, 800, (Track) null);
  4: block0.setArrowHead(false);
  5: assertFalse(block0.isDrawLabel());
  6: assertFalse(block0.isArrowHead());
  7: assertEquals(800.0F, block0.getStrokeSize(), 0.01F);

Test case 16

  1: DefaultStyledDocument defaultStyledDocument0 = new DefaultStyledDocument();
  2: JTextPane jTextPane0 = new JTextPane(defaultStyledDocument0);
  3: PrintColorUIResource printColorUIResource0 = (PrintColorUIResource)jTextPane0.getCaretColor();
  4: Block block0 = new Block("uk.ac.sanger.artemis.util.ByteBuffer", 1602, 1602, printColorUIResource0, 1602, (Track) null);
  5: block0.setDrawLabel(false);
  6: assertEquals(1602.0F, block0.getStrokeSize(), 0.01F);
  7: assertFalse(block0.isDrawLabel());

Test case 17

  1: Track track0 = new Track(0.0, "Apply", "Apply", false, false, false, (Entry) null);
  2: DNADraw dNADraw0 = new DNADraw();
  3: Block block0 = new Block(" Line width", 0, 0, (Color) null, 0, track0, dNADraw0);
  4: boolean boolean0 = block0.isDrawLabel();
  5: assertFalse(boolean0);

Test case 18

  1: Track track0 = new Track(0.0, "Apply", "Apply", false, false, false, (Entry) null);
  2: DNADraw dNADraw0 = new DNADraw();
  3: Block block0 = new Block(" Line width", 0, 0, (Color) null, 0, track0, dNADraw0);
  4: block0.isArrowHead();
  5: assertFalse(block0.isDrawLabel());

Test case 19

  1: JEditorPane jEditorPane0 = new JEditorPane("N(W", "N(W");
  2: PrintColorUIResource printColorUIResource0 = (PrintColorUIResource)jEditorPane0.getCaretColor();
  3: Block block0 = new Block("N(W", 800, 800, printColorUIResource0, 800, (Track) null);
  4: block0.setStrokeSize(800);
  5: assertFalse(block0.isDrawLabel());
  6: assertEquals(800.0F, block0.getStrokeSize(), 0.01F);

Test case 20

  1: Color color0 = Color.blue;
  2: DNADraw dNADraw0 = new DNADraw();
  3: Block block0 = new Block("File", 2, 2, color0, 0.0F, (Track) null, dNADraw0);
  4: block0.getFeature();
  5: assertFalse(block0.isDrawLabel());

Test case 21

  1: Track track0 = new Track(1328.060571, "nv_a{E`+AFhBbPXT0", true, false, (Entry) null);
  2: JembossParams jembossParams0 = new JembossParams();
  3: Vector<Object> vector0 = jembossParams0.getPublicServers();
  4: DNADraw dNADraw0 = new DNADraw(vector0, vector0, vector0, vector0);
  5: Block block0 = new Block("B/ApDo8(", 0, 1546, (Color) null, 1546, track0, dNADraw0);
  6: GenericDocumentType genericDocumentType0 = new GenericDocumentType("ALIGNMENT", "B/ApDo8(", "nv_a{E`+AFhBbPXT0");
  7: GenericDOMImplementation genericDOMImplementation0 = (GenericDOMImplementation)GenericDOMImplementation.getDOMImplementation();
  8: GenericDocument genericDocument0 = new GenericDocument(genericDocumentType0, genericDOMImplementation0);
  9: SVGGeneratorContext sVGGeneratorContext0 = SVGGeneratorContext.createDefault(genericDocument0);
 10: SVGGraphics2D sVGGraphics2D0 = new SVGGraphics2D(sVGGeneratorContext0, true);
 11: block0.draw(sVGGraphics2D0);
 12: double double0 = block0.getAngEnd();
 13: assertEquals(-0.0, block0.getAngStart(), 0.01);
 14: assertEquals((-139.14), double0, 0.01);

Test case 22

  1: Track track0 = new Track(0.0, "Apply", "Apply", false, false, false, (Entry) null);
  2: DNADraw dNADraw0 = new DNADraw();
  3: Block block0 = new Block(" Line width", 0, 0, (Color) null, 0, track0, dNADraw0);
  4: Point[] pointArray0 = block0.getLinePoints(65487);
  5: assertNotNull(pointArray0);

Test case 23

  1: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
  2: Entry entry0 = simpleEntryGroup0.createEntry();
  3: Track track0 = new Track(0, "@", "Apply", true, true, false, entry0);
  4: DNADraw dNADraw0 = new DNADraw();
  5: Block block0 = new Block("", 0, 1544, (Color) null, 1544, track0, dNADraw0);
  6: block0.isOverMe(0, 0);
  7: assertEquals(0, block0.getBstart());
  8: assertFalse(block0.isDrawLabel());
  9: assertEquals(1544, block0.getBend());

Test case 24

  1: Track track0 = new Track(1328.060571, "nv_a{E`+AFhBbPXT0", true, false, (Entry) null);
  2: JembossParams jembossParams0 = new JembossParams();
  3: Vector<Object> vector0 = jembossParams0.getPublicServers();
  4: DNADraw dNADraw0 = new DNADraw(vector0, vector0, vector0, vector0);
  5: Block block0 = new Block("B/ApDo8(", 0, 0, (Color) null, 0, track0, dNADraw0);
  6: DataFlavor dataFlavor0 = DataFlavor.fragmentHtmlFlavor;
  7: boolean boolean0 = block0.isDataFlavorSupported(dataFlavor0);
  8: assertFalse(block0.isDrawLabel());
  9: assertFalse(boolean0);

Test case 25

  1: Color color0 = Color.getColor("", 0);
  2: Track track0 = new Track(1374.4745F, (Entry) null);
  3: Block block0 = new Block("", 0, 4, color0, 1374.4745F, track0);
  4: DataFlavor dataFlavor0 = DataFlavor.allHtmlFlavor;
  5: block0.getTransferData(dataFlavor0);

Test case 26

  1: SystemColor systemColor0 = SystemColor.menuText;
  2: Block block0 = new Block("", 1383, 801, systemColor0, 1383, (Track) null);
  3: Block block1 = (Block)block0.getTransferData(block0.BLOCK);
  4: assertEquals(801, block1.getBend());
  5: assertEquals(1383, block1.getBstart());
  6: assertFalse(block1.isDrawLabel());

Test case 27

  1: JEditorPane jEditorPane0 = new JEditorPane("N(W", "N(W");
  2: PrintColorUIResource printColorUIResource0 = (PrintColorUIResource)jEditorPane0.getCaretColor();
  3: Block block0 = new Block("N(W", 800, 800, printColorUIResource0, 800, (Track) null);
  4: block0.getStrokeSize();
  5: assertFalse(block0.isDrawLabel());

Test case 28

  1: SystemColor systemColor0 = SystemColor.windowBorder;
  2: EmblStreamSequence emblStreamSequence0 = new EmblStreamSequence("");
  3: Bases bases0 = new Bases(emblStreamSequence0);
  4: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
  5: Entry entry0 = simpleEntryGroup0.createEntry("");
  6: Track track0 = new Track(3069.0F, "", "", true, false, true, entry0);
  7: Block block0 = new Block("Please answer y or n", 2172, 2172, systemColor0, 3069.0F, track0);
  8: block0.getLabel();
  9: assertFalse(block0.isDrawLabel());

Test case 29

  1: Color color0 = new Color(0, 23, 23, 0);
  2: Bases bases0 = new Bases((Sequence) null);
  3: Entry entry0 = Entry.newEntry(bases0);
  4: Track track0 = new Track((-1726), entry0);
  5: JembossParams jembossParams0 = new JembossParams();
  6: Vector<Object> vector0 = jembossParams0.getPrivateServers();
  7: DNADraw dNADraw0 = new DNADraw(vector0, vector0, vector0, vector0);
  8: Block block0 = new Block(">O$L+^xc*C/l1q%0z", (-1726), (-1726), color0, 0, track0, dNADraw0);
  9: block0.getAngStart();
 10: assertFalse(block0.isDrawLabel());

Test case 30

  1: Color color0 = Color.lightGray;
  2: Track track0 = new Track((-360.0), (String) null, (String) null, false, false, false, (Entry) null);
  3: Block block0 = new Block((String) null, 2048, 2048, color0, (-191.7F), track0);
  4: block0.getTrack();
  5: assertFalse(block0.isDrawLabel());

Test case 31

  1: Color color0 = Color.CYAN;
  2: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
  3: Entry entry0 = simpleEntryGroup0.createEntry();
  4: Track track0 = new Track((-2636.6067F), entry0);
  5: Block block0 = new Block("-,DN^~*[_+w>", 0, 0, color0, (-2636.6067F), track0);
  6: int int0 = block0.getBstart();
  7: assertEquals(0, int0);
  8: assertFalse(block0.isDrawLabel());

Test case 32

  1: DefaultStyledDocument defaultStyledDocument0 = new DefaultStyledDocument();
  2: JTextPane jTextPane0 = new JTextPane(defaultStyledDocument0);
  3: PrintColorUIResource printColorUIResource0 = (PrintColorUIResource)jTextPane0.getCaretColor();
  4: Block block0 = new Block("uk.ac.sanger.artemis.util.ByteBuffer", 1602, 1602, printColorUIResource0, 1602, (Track) null);
  5: block0.getBend();
  6: assertFalse(block0.isDrawLabel());

Test case 33

  1: Track track0 = new Track(1328.060571, "nv_a{E`+AFhBbPXT0", true, false, (Entry) null);
  2: JembossParams jembossParams0 = new JembossParams();
  3: Vector<Object> vector0 = jembossParams0.getPublicServers();
  4: DNADraw dNADraw0 = new DNADraw(vector0, vector0, vector0, vector0);
  5: Block block0 = new Block("B/ApDo8(", 0, 1546, (Color) null, 1546, track0, dNADraw0);
  6: block0.getAngEnd();
  7: assertFalse(block0.isDrawLabel());
  8: assertEquals(1546, block0.getBend());
  9: assertEquals(0, block0.getBstart());

Test case 34

  1: Color color0 = Color.blue;
  2: Track track0 = new Track((-3713.411773178), (Entry) null);
  3: Block block0 = new Block("", 1198, 1198, color0, (-2134.4F), track0);
  4: Color color1 = block0.getColour();
  5: assertNotNull(color1);
  6: assertFalse(block0.isDrawLabel());

Test case 35

  1: Color color0 = Color.LIGHT_GRAY;
  2: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
  3: Entry entry0 = simpleEntryGroup0.createEntry("");
  4: Track track0 = new Track(130, "", false, false, entry0);
  5: Block block0 = new Block("", 130, 130, color0, 0.5F, track0);
  6: GenericDocumentType genericDocumentType0 = new GenericDocumentType("", "", "sn)rRs<pTw&[w#v/");
  7: GenericDOMImplementation genericDOMImplementation0 = (GenericDOMImplementation)GenericDOMImplementation.getDOMImplementation();
  8: GenericDocument genericDocument0 = new GenericDocument(genericDocumentType0, genericDOMImplementation0);
  9: SVGGeneratorContext sVGGeneratorContext0 = SVGGeneratorContext.createDefault(genericDocument0);
 10: SVGGraphics2D sVGGraphics2D0 = new SVGGraphics2D(sVGGeneratorContext0, false);
 11: block0.draw(sVGGraphics2D0);

Test case 36

  1: Track track0 = new Track(0.4, "a9?C>m", "xF$EC", true, true, true, (Entry) null);
  2: Block block0 = new Block("a9?C>m", 259, 526, (Color) null, 0, track0);
  3: GenericDocumentType genericDocumentType0 = new GenericDocumentType("a9?C>m", "@qAyA]/DHo3!T.x<|", "sk_");
  4: GenericDOMImplementation genericDOMImplementation0 = (GenericDOMImplementation)GenericDOMImplementation.getDOMImplementation();
  5: GenericDocument genericDocument0 = new GenericDocument(genericDocumentType0, genericDOMImplementation0);
  6: SVGGeneratorContext sVGGeneratorContext0 = SVGGeneratorContext.createDefault(genericDocument0);
  7: SVGGraphics2D sVGGraphics2D0 = new SVGGraphics2D(sVGGeneratorContext0, true);
  8: block0.drawLinear(sVGGraphics2D0);

Test case 37

  1: SystemColor systemColor0 = SystemColor.scrollbar;
  2: Track track0 = new Track(2.0F, "#_$h/u+$G[TsaZ", false, false, (Entry) null);
  3: Block block0 = new Block("#_$h/u+$G[TsaZ", 1925, 1925, systemColor0, 2.0F, track0);
  4: block0.getLinePoints(0);

Test case 38

  1: Track track0 = new Track(1328.060571, "nv_a{E`+AFhBbPXT0", true, false, (Entry) null);
  2: JembossParams jembossParams0 = new JembossParams();
  3: Vector<Object> vector0 = jembossParams0.getPublicServers();
  4: DNADraw dNADraw0 = new DNADraw(vector0, vector0, vector0, vector0);
  5: Block block0 = new Block("B/ApDo8(", 0, 1546, (Color) null, 1546, track0, dNADraw0);
  6: block0.getTransferData((DataFlavor) null);

Test case 39

  1: JList<FileDialog> jList0 = new JList<FileDialog>();
  2: PrintColorUIResource printColorUIResource0 = (PrintColorUIResource)jList0.getSelectionForeground();
  3: Block block0 = new Block("", 1035, (-2007), printColorUIResource0, (-2007), (Track) null);
  4: block0.isOverMe((-2007), (-2007));

Test case 40

  1: SystemColor systemColor0 = SystemColor.textText;
  2: Bases bases0 = new Bases((Sequence) null);
  3: Entry entry0 = Entry.newEntry(bases0);
  4: Track track0 = new Track(0.8F, "APfq?IbHjJP..*B7", "", true, true, true, entry0);
  5: Block block0 = new Block("", 1351, 1351, systemColor0, 0.8F, track0);
  6: block0.setBlockLocation(0, 1, (TrackManager) null);

Test case 41

  1: SystemColor systemColor0 = SystemColor.info;
  2: Block block0 = new Block("j}*m", 1569, (-576), systemColor0, (-543.7957F), (Track) null);
  3: int int0 = block0.getBend();
  4: assertEquals((-576), int0);
  5: assertEquals(1569, block0.getBstart());
  6: assertFalse(block0.isDrawLabel());

Test case 42

  1: Track track0 = new Track(0.0, "Apply", "Apply", false, false, false, (Entry) null);
  2: DNADraw dNADraw0 = new DNADraw();
  3: Block block0 = new Block(" Line width", 0, 0, (Color) null, 0, track0, dNADraw0);
  4: block0.getBend();
  5: assertFalse(block0.isDrawLabel());

Test case 43

  1: Color color0 = new Color(0, 23, 23, 0);
  2: Bases bases0 = new Bases((Sequence) null);
  3: Entry entry0 = Entry.newEntry(bases0);
  4: Track track0 = new Track((-1726), entry0);
  5: JembossParams jembossParams0 = new JembossParams();
  6: Vector<Object> vector0 = jembossParams0.getPrivateServers();
  7: DNADraw dNADraw0 = new DNADraw(vector0, vector0, vector0, vector0);
  8: Block block0 = new Block(">O$L+^xc*C/l1q%0z", (-1726), (-1726), color0, 0, track0, dNADraw0);
  9: int int0 = block0.getBstart();
 10: assertFalse(block0.isDrawLabel());
 11: assertEquals((-1726), int0);

Test case 44

  1: JEditorPane jEditorPane0 = new JEditorPane("N(W", "N(W");
  2: PrintColorUIResource printColorUIResource0 = (PrintColorUIResource)jEditorPane0.getCaretColor();
  3: Block block0 = new Block("N(W", 800, 800, printColorUIResource0, 800, (Track) null);
  4: int int0 = block0.getBstart();
  5: assertEquals(800, int0);
  6: assertFalse(block0.isDrawLabel());

Test case 45

  1: Vector<Canvas> vector0 = new Vector<Canvas>();
  2: DefaultTableModel defaultTableModel0 = new DefaultTableModel(vector0, 77);
  3: DefaultTableColumnModel defaultTableColumnModel0 = new DefaultTableColumnModel();
  4: JTable jTable0 = new JTable(defaultTableModel0, defaultTableColumnModel0);
  5: ColorUIResource colorUIResource0 = (ColorUIResource)jTable0.getSelectionBackground();
  6: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
  7: Entry entry0 = simpleEntryGroup0.createEntry("ND6JR[l'l@m$mzMw1P+");
  8: Track track0 = new Track(2686.9307F, entry0);
  9: Block block0 = new Block("ND6JR[l'l@m$mzMw1P+", 77, 0, colorUIResource0, 2686.9307F, track0);
 10: ColorUIResource colorUIResource1 = (ColorUIResource)block0.getColour();
 11: assertNotNull(colorUIResource1);
 12: assertFalse(block0.isDrawLabel());
 13: assertEquals(0, block0.getBend());
 14: assertEquals(77, block0.getBstart());

Test case 46

  1: Track track0 = new Track(0.0, "Apply", "Apply", false, false, false, (Entry) null);
  2: DNADraw dNADraw0 = new DNADraw();
  3: Block block0 = new Block(" Line width", 0, 0, (Color) null, 0, track0, dNADraw0);
  4: block0.getColour();
  5: assertFalse(block0.isDrawLabel());

Test case 47

  1: Track track0 = new Track(0.4, "a9?C>m", "xF$EC", true, true, true, (Entry) null);
  2: Block block0 = new Block("a9?C>m", 259, 526, (Color) null, 0, track0);
  3: block0.getStrokeSize();
  4: assertEquals(526, block0.getBend());
  5: assertEquals(259, block0.getBstart());
  6: assertFalse(block0.isDrawLabel());

Source Code

  1: No source found for uk.ac.sanger.artemis.circular.Block

EvoSuite Parameters

  • TARGET_CLASS: uk.ac.sanger.artemis.circular.Block
  • Size: 47
  • Length: 258
  • criterion: LINE;BRANCH;EXCEPTION;WEAKMUTATION;OUTPUT;METHOD;METHODNOEXCEPTION;CBRANCH
  • Coverage: 0.619364702355125
  • BranchCoverage: 0.35036496350364965
  • MethodCoverage: 0.972972972972973
  • OutputCoverage: 0.4868421052631579


Back to Overview