Test case 1
1: Bases bases0 = new Bases((Sequence) null);
2: Strand strand0 = bases0.getReverseStrand();
3: GCDeviationAlgorithm gCDeviationAlgorithm0 = new GCDeviationAlgorithm(strand0);
4: gCDeviationAlgorithm0.getMinimumInternal();
Test case 2
1: FastaStreamSequence fastaStreamSequence0 = new FastaStreamSequence("gc_deviation", "k2RqfQFW");
2: Bases bases0 = new Bases(fastaStreamSequence0);
3: Strand strand0 = bases0.getReverseStrand();
4: GCDeviationAlgorithm gCDeviationAlgorithm0 = new GCDeviationAlgorithm(strand0);
5: Float float0 = gCDeviationAlgorithm0.getMaximumInternal();
6: assertTrue(gCDeviationAlgorithm0.scalingFlag());
7: assertEquals(1.0F, (float)float0, 0.01F);
Test case 3
1: EmblStreamSequence emblStreamSequence0 = new EmblStreamSequence("3f/");
2: Bases bases0 = new Bases(emblStreamSequence0);
3: Strand strand0 = bases0.getForwardStrand();
4: GCDeviationAlgorithm gCDeviationAlgorithm0 = new GCDeviationAlgorithm(strand0);
5: int int0 = gCDeviationAlgorithm0.getValueCount();
6: assertEquals(1, int0);
7: assertTrue(gCDeviationAlgorithm0.scalingFlag());
Test case 4
1: GenbankStreamSequence genbankStreamSequence0 = new GenbankStreamSequence("gc_deviation");
2: Bases bases0 = new Bases(genbankStreamSequence0);
3: Strand strand0 = bases0.getReverseStrand();
4: GCDeviationAlgorithm gCDeviationAlgorithm0 = new GCDeviationAlgorithm(strand0);
5: gCDeviationAlgorithm0.getValues(2, 2721, (float[]) null);
Test case 5
1: EmblStreamSequence emblStreamSequence0 = new EmblStreamSequence("3f/");
2: Bases bases0 = new Bases(emblStreamSequence0);
3: Strand strand0 = bases0.getForwardStrand();
4: GCDeviationAlgorithm gCDeviationAlgorithm0 = new GCDeviationAlgorithm(strand0);
5: float[] floatArray0 = new float[1];
6: gCDeviationAlgorithm0.getValues(1, 2, floatArray0);
Test case 6
1: Bases bases0 = new Bases((Sequence) null);
2: Strand strand0 = bases0.getReverseStrand();
3: GCDeviationAlgorithm gCDeviationAlgorithm0 = new GCDeviationAlgorithm(strand0);
4: gCDeviationAlgorithm0.getDefaultWindowSize();
Test case 7
1: Bases bases0 = new Bases((Sequence) null);
2: Strand strand0 = bases0.getReverseStrand();
3: GCDeviationAlgorithm gCDeviationAlgorithm0 = new GCDeviationAlgorithm(strand0);
4: gCDeviationAlgorithm0.getDefaultMaxWindowSize();
Test case 8
1: EmblStreamSequence emblStreamSequence0 = new EmblStreamSequence("3f/");
2: Bases bases0 = new Bases(emblStreamSequence0);
3: Strand strand0 = bases0.getForwardStrand();
4: GCDeviationAlgorithm gCDeviationAlgorithm0 = new GCDeviationAlgorithm(strand0);
5: gCDeviationAlgorithm0.getDefaultMinWindowSize();
Test case 9
1: FastaStreamSequence fastaStreamSequence0 = new FastaStreamSequence("gc_deviation", "k2RqfQFW");
2: Bases bases0 = new Bases(fastaStreamSequence0);
3: Strand strand0 = bases0.getReverseStrand();
4: GCDeviationAlgorithm gCDeviationAlgorithm0 = new GCDeviationAlgorithm(strand0);
5: gCDeviationAlgorithm0.getDefaultStepSize((-4153));
Test case 10
1: Bases bases0 = new Bases((Sequence) null);
2: Strand strand0 = bases0.getReverseStrand();
3: GCDeviationAlgorithm gCDeviationAlgorithm0 = new GCDeviationAlgorithm(strand0);
4: gCDeviationAlgorithm0.getDefaultStepSize(4060);
Test case 11
1: EmblStreamSequence emblStreamSequence0 = new EmblStreamSequence("3f/");
2: Bases bases0 = new Bases(emblStreamSequence0);
3: Strand strand0 = bases0.getForwardStrand();
4: GCDeviationAlgorithm gCDeviationAlgorithm0 = new GCDeviationAlgorithm(strand0);
5: gCDeviationAlgorithm0.getAverage();
Test case 12
1: FastaStreamSequence fastaStreamSequence0 = new FastaStreamSequence("gc_deviation", "k2RqfQFW");
2: Bases bases0 = new Bases(fastaStreamSequence0);
3: Strand strand0 = bases0.getReverseStrand();
4: GCDeviationAlgorithm gCDeviationAlgorithm0 = new GCDeviationAlgorithm(strand0);
5: gCDeviationAlgorithm0.getAverage();
Test case 13
1: GCDeviationAlgorithm gCDeviationAlgorithm0 = new GCDeviationAlgorithm((Strand) null);
Test case 14
1: Bases bases0 = new Bases((Sequence) null);
2: Strand strand0 = bases0.getReverseStrand();
3: GCDeviationAlgorithm gCDeviationAlgorithm0 = new GCDeviationAlgorithm(strand0);
4: float[] floatArray0 = new float[1];
5: gCDeviationAlgorithm0.getValues((-337), (-609), floatArray0);
Test case 15
1: Bases bases0 = new Bases((Sequence) null);
2: Strand strand0 = bases0.getReverseStrand();
3: GCDeviationAlgorithm gCDeviationAlgorithm0 = new GCDeviationAlgorithm(strand0);
4: gCDeviationAlgorithm0.getDefaultStepSize(16000);
Test case 16
1: GenbankStreamSequence genbankStreamSequence0 = new GenbankStreamSequence("gc_deviation");
2: Bases bases0 = new Bases(genbankStreamSequence0);
3: genbankStreamSequence0.setFromChar(bases0.letter_index);
4: Strand strand0 = bases0.getReverseStrand();
5: GCDeviationAlgorithm gCDeviationAlgorithm0 = new GCDeviationAlgorithm(strand0);
6: gCDeviationAlgorithm0.getValues(2, 2721, (float[]) null);
Source Code
1: No source found for uk.ac.sanger.artemis.plot.GCDeviationAlgorithm
EvoSuite Parameters
- TARGET_CLASS: uk.ac.sanger.artemis.plot.GCDeviationAlgorithm
- Size: 16
- Length: 73
- criterion: LINE;BRANCH;EXCEPTION;WEAKMUTATION;OUTPUT;METHOD;METHODNOEXCEPTION;CBRANCH
- Coverage: 0.8626401751401751
- BranchCoverage: 0.8636363636363636
- MethodCoverage: 1.0
- OutputCoverage: 0.34459459459459457
Back to Overview