Summary

Test suite

Test case 1

  1: RawStreamSequence rawStreamSequence0 = new RawStreamSequence("Reverse Corrected Scaled Chi Square");
  2: Bases bases0 = new Bases(rawStreamSequence0);
  3: Strand strand0 = bases0.getReverseStrand();
  4: CSCSAlgorithm cSCSAlgorithm0 = new CSCSAlgorithm(strand0);
  5: cSCSAlgorithm0.getValueCount();

Test case 2

  1: Bases bases0 = new Bases((Sequence) null);
  2: Strand strand0 = bases0.getReverseStrand();
  3: CSCSAlgorithm cSCSAlgorithm0 = new CSCSAlgorithm(strand0);
  4: DebugGraphics debugGraphics0 = new DebugGraphics();
  5: Color[] colorArray0 = new Color[7];
  6: cSCSAlgorithm0.drawLegend((Graphics) debugGraphics0, 1, 2, colorArray0);
  7: assertTrue(cSCSAlgorithm0.scalingFlag());
  8: assertEquals("Reverse Corrected Scaled Chi Square", cSCSAlgorithm0.getAlgorithmName());

Test case 3

  1: Bases bases0 = new Bases((Sequence) null);
  2: Strand strand0 = bases0.getForwardStrand();
  3: CSCSAlgorithm cSCSAlgorithm0 = new CSCSAlgorithm(strand0);
  4: cSCSAlgorithm0.getAverage();
  5: assertEquals("Corrected Scaled Chi Square", cSCSAlgorithm0.getAlgorithmName());
  6: assertTrue(cSCSAlgorithm0.scalingFlag());

Test case 4

  1: Bases bases0 = new Bases((Sequence) null);
  2: Strand strand0 = bases0.getForwardStrand();
  3: CSCSAlgorithm cSCSAlgorithm0 = new CSCSAlgorithm(strand0);
  4: Float float0 = cSCSAlgorithm0.getMinimumInternal();
  5: assertEquals(0.0F, (float)float0, 0.01F);
  6: assertTrue(cSCSAlgorithm0.scalingFlag());
  7: assertEquals("Corrected Scaled Chi Square", cSCSAlgorithm0.getAlgorithmName());

Test case 5

  1: Bases bases0 = new Bases((Sequence) null);
  2: Strand strand0 = bases0.getForwardStrand();
  3: CSCSAlgorithm cSCSAlgorithm0 = new CSCSAlgorithm(strand0);
  4: Float float0 = cSCSAlgorithm0.getMaximumInternal();
  5: assertEquals(1000.0F, (float)float0, 0.01F);
  6: assertTrue(cSCSAlgorithm0.scalingFlag());
  7: assertEquals("Corrected Scaled Chi Square", cSCSAlgorithm0.getAlgorithmName());

Test case 6

  1: RawStreamSequence rawStreamSequence0 = new RawStreamSequence("Reverse Corrected Scaled Chi Square");
  2: Bases bases0 = new Bases(rawStreamSequence0);
  3: Strand strand0 = bases0.getReverseStrand();
  4: CSCSAlgorithm cSCSAlgorithm0 = new CSCSAlgorithm(strand0);
  5: float[] floatArray0 = new float[6];
  6: cSCSAlgorithm0.getValues(2, 641, floatArray0);
  7: assertTrue(cSCSAlgorithm0.scalingFlag());
  8: assertEquals("Reverse Corrected Scaled Chi Square", cSCSAlgorithm0.getAlgorithmName());

Test case 7

  1: char[] charArray0 = new char[4];
  2: Short short0 = new Short((short) (-3417));
  3: PartialSequence partialSequence0 = new PartialSequence(charArray0, 0, 0, short0, (Integer) null);
  4: Bases bases0 = new Bases(partialSequence0);
  5: Strand strand0 = bases0.getForwardStrand();
  6: CSCSAlgorithm cSCSAlgorithm0 = new CSCSAlgorithm(strand0);
  7: cSCSAlgorithm0.getValues((short) (-3417), 0, (float[]) null);

Test case 8

  1: RawStreamSequence rawStreamSequence0 = new RawStreamSequence("Reverse Corrected Scaled Chi Square");
  2: Bases bases0 = new Bases(rawStreamSequence0);
  3: Strand strand0 = bases0.getForwardStrand();
  4: CSCSAlgorithm cSCSAlgorithm0 = new CSCSAlgorithm(strand0);
  5: float[] floatArray0 = new float[6];
  6: cSCSAlgorithm0.getValues(2, 641, floatArray0);
  7: assertEquals("Corrected Scaled Chi Square", cSCSAlgorithm0.getAlgorithmName());
  8: assertTrue(cSCSAlgorithm0.scalingFlag());

Test case 9

  1: Bases bases0 = new Bases((Sequence) null);
  2: Strand strand0 = bases0.getForwardStrand();
  3: CSCSAlgorithm cSCSAlgorithm0 = new CSCSAlgorithm(strand0);
  4: Integer integer0 = cSCSAlgorithm0.getDefaultWindowSize();
  5: assertNotNull(integer0);
  6: assertEquals("Corrected Scaled Chi Square", cSCSAlgorithm0.getAlgorithmName());
  7: assertTrue(cSCSAlgorithm0.scalingFlag());
  8: assertEquals(500, (int)integer0);

Test case 10

  1: char[] charArray0 = new char[4];
  2: Short short0 = new Short((short) (-3417));
  3: PartialSequence partialSequence0 = new PartialSequence(charArray0, 0, 0, short0, (Integer) null);
  4: Bases bases0 = new Bases(partialSequence0);
  5: Strand strand0 = bases0.getForwardStrand();
  6: CSCSAlgorithm cSCSAlgorithm0 = new CSCSAlgorithm(strand0);
  7: Integer integer0 = cSCSAlgorithm0.getDefaultMaxWindowSize();
  8: assertEquals("Corrected Scaled Chi Square", cSCSAlgorithm0.getAlgorithmName());
  9: assertTrue(cSCSAlgorithm0.scalingFlag());
 10: assertNotNull(integer0);
 11: assertEquals(5000, (int)integer0);

Test case 11

  1: Bases bases0 = new Bases((Sequence) null);
  2: Strand strand0 = bases0.getForwardStrand();
  3: CSCSAlgorithm cSCSAlgorithm0 = new CSCSAlgorithm(strand0);
  4: Integer integer0 = cSCSAlgorithm0.getDefaultMinWindowSize();
  5: assertNotNull(integer0);
  6: assertEquals(24, (int)integer0);
  7: assertTrue(cSCSAlgorithm0.scalingFlag());
  8: assertEquals("Corrected Scaled Chi Square", cSCSAlgorithm0.getAlgorithmName());

Test case 12

  1: Bases bases0 = new Bases((Sequence) null);
  2: Strand strand0 = bases0.getForwardStrand();
  3: CSCSAlgorithm cSCSAlgorithm0 = new CSCSAlgorithm(strand0);
  4: Integer integer0 = cSCSAlgorithm0.getDefaultStepSize(5);
  5: assertEquals("Corrected Scaled Chi Square", cSCSAlgorithm0.getAlgorithmName());
  6: assertNull(integer0);
  7: assertTrue(cSCSAlgorithm0.scalingFlag());

Test case 13

  1: Bases bases0 = new Bases((Sequence) null);
  2: Strand strand0 = bases0.getForwardStrand();
  3: CSCSAlgorithm cSCSAlgorithm0 = new CSCSAlgorithm(strand0);
  4: Integer integer0 = cSCSAlgorithm0.getDefaultStepSize(1628);
  5: assertTrue(cSCSAlgorithm0.scalingFlag());
  6: assertEquals(24, (int)integer0);
  7: assertNotNull(integer0);
  8: assertEquals("Corrected Scaled Chi Square", cSCSAlgorithm0.getAlgorithmName());

Test case 14

  1: CSCSAlgorithm cSCSAlgorithm0 = new CSCSAlgorithm((Strand) null);

Test case 15

  1: Bases bases0 = new Bases((Sequence) null);
  2: Strand strand0 = bases0.getForwardStrand();
  3: CSCSAlgorithm cSCSAlgorithm0 = new CSCSAlgorithm(strand0);
  4: float[] floatArray0 = new float[3];
  5: cSCSAlgorithm0.getValues(2, 2, floatArray0);

Test case 16

  1: Bases bases0 = new Bases((Sequence) null);
  2: Strand strand0 = bases0.getReverseStrand();
  3: CSCSAlgorithm cSCSAlgorithm0 = new CSCSAlgorithm(strand0);
  4: float[] floatArray0 = new float[8];
  5: cSCSAlgorithm0.getValues((-5), 811, floatArray0);

Source Code

  1: No source found for uk.ac.sanger.artemis.plot.CSCSAlgorithm

EvoSuite Parameters

  • TARGET_CLASS: uk.ac.sanger.artemis.plot.CSCSAlgorithm
  • Size: 16
  • Length: 76
  • criterion: LINE;BRANCH;EXCEPTION;WEAKMUTATION;OUTPUT;METHOD;METHODNOEXCEPTION;CBRANCH
  • Coverage: 0.8645732806873391
  • BranchCoverage: 0.8448275862068966
  • MethodCoverage: 1.0
  • OutputCoverage: 0.2905405405405405


Back to Overview