Test suite
Test case 1
1: char[] charArray0 = new char[9]; 2: charArray0[0] = ']'; 3: charArray0[1] = ''; 4: charArray0[2] = 'D'; 5: charArray0[3] = '2'; 6: charArray0[4] = '2'; 7: charArray0[5] = 'G'; 8: charArray0[6] = 'e'; 9: charArray0[7] = 't'; 10: charArray0[8] = 'c'; 11: Short short0 = new Short((short)0); 12: Integer integer0 = JLayeredPane.DEFAULT_LAYER; 13: PartialSequence partialSequence0 = new PartialSequence(charArray0, (-145), 0, short0, integer0); 14: Bases bases0 = new Bases(partialSequence0); 15: Strand strand0 = bases0.getReverseStrand(); 16: GCSDWindowAlgorithm gCSDWindowAlgorithm0 = new GCSDWindowAlgorithm(strand0); 17: gCSDWindowAlgorithm0.getDefaultMinWindowSize();
Test case 2
1: GCSDWindowAlgorithm gCSDWindowAlgorithm0 = new GCSDWindowAlgorithm((Strand) null); 2: gCSDWindowAlgorithm0.getMinimumInternal(); 3: gCSDWindowAlgorithm0.getDefaultWindowSize(); 4: String string0 = "qes0\\"; 5: boolean boolean0 = true; 6: gCSDWindowAlgorithm0.setUserMaxMin(boolean0); 7: gCSDWindowAlgorithm0.setRevCompDisplay(boolean0); 8: gCSDWindowAlgorithm0.getMinimumInternal(); 9: boolean boolean1 = false; 10: gCSDWindowAlgorithm0.setScalingFlag(boolean1); 11: gCSDWindowAlgorithm0.setAlgorithmName(string0); 12: gCSDWindowAlgorithm0.getDefaultWindowSize(); 13: gCSDWindowAlgorithm0.setUserMaxMin(boolean0); 14: boolean boolean2 = false; 15: int int0 = 0; 16: int int1 = 1039; 17: float[] floatArray0 = new float[1]; 18: float float0 = 0.0F; 19: floatArray0[0] = float0; 20: gCSDWindowAlgorithm0.getValues(int0, int1, floatArray0); 21: gCSDWindowAlgorithm0.setScalingFlag(boolean2); 22: gCSDWindowAlgorithm0.getDefaultWindowSize(); 23: int int2 = 201; 24: gCSDWindowAlgorithm0.getDefaultStepSize(int2); 25: gCSDWindowAlgorithm0.getDefaultWindowSize(); 26: gCSDWindowAlgorithm0.getDefaultMaxWindowSize(); 27: gCSDWindowAlgorithm0.getValueCount(); 28: gCSDWindowAlgorithm0.getMaximumInternal(); 29: gCSDWindowAlgorithm0.getValueCount();
Test case 3
1: char[] charArray0 = new char[3]; 2: charArray0[0] = 'c'; 3: charArray0[1] = 'u'; 4: charArray0[2] = '+'; 5: Short short0 = new Short((short) (-961)); 6: Integer integer0 = JLayeredPane.MODAL_LAYER; 7: PartialSequence partialSequence0 = new PartialSequence(charArray0, 100, 5, short0, integer0); 8: Bases bases0 = new Bases(partialSequence0); 9: Strand strand0 = bases0.getReverseStrand(); 10: GCSDWindowAlgorithm gCSDWindowAlgorithm0 = new GCSDWindowAlgorithm(strand0); 11: float[] floatArray0 = new float[5]; 12: floatArray0[0] = (float) 'u'; 13: floatArray0[1] = (float) 1; 14: floatArray0[2] = (float) 100; 15: floatArray0[3] = (float) 'u'; 16: floatArray0[4] = (float) 'c'; 17: gCSDWindowAlgorithm0.getValues(16, 5, floatArray0);
Test case 4
1: char[] charArray0 = new char[2]; 2: charArray0[0] = '('; 3: charArray0[1] = '?'; 4: int int0 = 3893; 5: Short short0 = new Short((short)0); 6: Integer integer0 = JLayeredPane.DEFAULT_LAYER; 7: PartialSequence partialSequence0 = new PartialSequence(charArray0, 0, 3893, short0, integer0); 8: Bases bases0 = new Bases(partialSequence0); 9: Short.toUnsignedInt((short)0); 10: Strand strand0 = bases0.getReverseStrand(); 11: GCSDWindowAlgorithm gCSDWindowAlgorithm0 = new GCSDWindowAlgorithm(strand0); 12: gCSDWindowAlgorithm0.getMinimum(); 13: gCSDWindowAlgorithm0.getMinimumInternal(); 14: gCSDWindowAlgorithm0.getValueCount(); 15: int int1 = 112; 16: float[] floatArray0 = new float[4]; 17: floatArray0[0] = (float) 5; 18: floatArray0[1] = (float) 0; 19: floatArray0[2] = (float) 1; 20: Range range0 = null; 21: bases0.getSubSequenceC((Range) null, (-3714)); 22: gCSDWindowAlgorithm0.getAverage(); 23: StringVector stringVector0 = new StringVector(); 24: strand0.getMatchingCodons(range0, stringVector0); 25: floatArray0[3] = (float) bases0.MEDIUM_PRIORITY; 26: gCSDWindowAlgorithm0.getValues(int1, int0, floatArray0); 27: gCSDWindowAlgorithm0.getDefaultMaxWindowSize();
Test case 5
1: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(); 2: FeatureVector featureVector0 = new FeatureVector(); 3: FilteredEntryGroup filteredEntryGroup0 = new FilteredEntryGroup(simpleEntryGroup0, featureVector0, "ZJ<J,E}H&A"); 4: FeaturePredicateVector featurePredicateVector0 = new FeaturePredicateVector(); 5: FeaturePredicateConjunction featurePredicateConjunction0 = new FeaturePredicateConjunction(featurePredicateVector0, 0); 6: String string0 = "\"{ZFe2t"; 7: FilteredEntryGroup filteredEntryGroup1 = new FilteredEntryGroup(filteredEntryGroup0, featurePredicateConjunction0, string0); 8: Bases bases0 = filteredEntryGroup1.getBases(); 9: Strand strand0 = bases0.getForwardStrand(); 10: GCSDWindowAlgorithm gCSDWindowAlgorithm0 = new GCSDWindowAlgorithm(strand0); 11: gCSDWindowAlgorithm0.getDefaultStepSize(strand0.REVERSE);
Test case 6
1: EmblStreamSequence emblStreamSequence0 = new EmblStreamSequence(" DZ]YGB"); 2: Bases bases0 = new Bases(emblStreamSequence0); 3: bases0.getAverageGCPercent(); 4: bases0.getACount(); 5: Strand strand0 = bases0.getForwardStrand(); 6: emblStreamSequence0.copy(); 7: emblStreamSequence0.copy(); 8: Bases.reverseComplement("internal error - unexpected exception: "); 9: GCSDWindowAlgorithm gCSDWindowAlgorithm0 = new GCSDWindowAlgorithm(strand0); 10: gCSDWindowAlgorithm0.getDefaultWindowSize(); 11: gCSDWindowAlgorithm0.setRevCompDisplay(true); 12: gCSDWindowAlgorithm0.setUserMaxMin(true); 13: gCSDWindowAlgorithm0.getMinimumInternal(); 14: Integer integer0 = gCSDWindowAlgorithm0.getDefaultMaxWindowSize(); 15: assertEquals(5000, (int)integer0); 16: 17: emblStreamSequence0.getSubSequence(1000, (-708)); 18: Range range0 = new Range(0); 19: range0.copy(); 20: strand0.getRawSubSequence(range0); 21: gCSDWindowAlgorithm0.getMaximumInternal(); 22: Float float0 = gCSDWindowAlgorithm0.getMaximumInternal(); 23: assertEquals(100.0F, (float)float0, 0.01F); 24: 25: gCSDWindowAlgorithm0.getMinimumInternal(); 26: gCSDWindowAlgorithm0.getMinimumInternal(); 27: Integer integer1 = gCSDWindowAlgorithm0.getDefaultWindowSize(); 28: assertEquals(1000, (int)integer1); 29: 30: Float float1 = gCSDWindowAlgorithm0.getMinimumInternal(); 31: assertEquals(0.0F, (float)float1, 0.01F); 32: 33: gCSDWindowAlgorithm0.getAverage(); 34: float[] floatArray0 = new float[3]; 35: floatArray0[0] = (float) (-5); 36: floatArray0[1] = (float) 1; 37: floatArray0[2] = (float) 5; 38: gCSDWindowAlgorithm0.getValues(2, 520, floatArray0); 39: assertFalse(gCSDWindowAlgorithm0.scalingFlag());
Test case 7
1: uk.ac.sanger.artemis.Feature feature0 = new uk.ac.sanger.artemis.Feature((Feature) null); 2: int int0 = 49; 3: Range range0 = new Range(int0); 4: FeatureSegment featureSegment0 = new FeatureSegment(feature0, range0); 5: Marker marker0 = featureSegment0.getEnd(); 6: Strand strand0 = marker0.getStrand(); 7: strand0.getRawPosition(marker0.LISTENER_PRIORITY); 8: GCSDWindowAlgorithm gCSDWindowAlgorithm0 = new GCSDWindowAlgorithm(strand0); 9: gCSDWindowAlgorithm0.getDefaultMinWindowSize(); 10: gCSDWindowAlgorithm0.getMinimumInternal(); 11: int int1 = (-984); 12: range0.change(featureSegment0.REVERSE_STRAND, int1); 13: gCSDWindowAlgorithm0.getDefaultMaxWindowSize(); 14: gCSDWindowAlgorithm0.getAverage(); 15: gCSDWindowAlgorithm0.getAverage(); 16: gCSDWindowAlgorithm0.getValueCount(); 17: feature0.getFirstCodingBaseMarker(); 18: int int2 = 1861; 19: gCSDWindowAlgorithm0.getDefaultStepSize(int2); 20: int int3 = 0; 21: gCSDWindowAlgorithm0.getDefaultStepSize(int3); 22: int int4 = 0; 23: gCSDWindowAlgorithm0.getDefaultStepSize(int4);
Test case 8
1: FastaStreamSequence fastaStreamSequence0 = new FastaStreamSequence("G)", "G)"); 2: Bases bases0 = new Bases(fastaStreamSequence0); 3: Strand strand0 = bases0.getForwardStrand(); 4: GCSDWindowAlgorithm gCSDWindowAlgorithm0 = new GCSDWindowAlgorithm(strand0); 5: gCSDWindowAlgorithm0.setUserMin((-5)); 6: float[] floatArray0 = new float[0]; 7: gCSDWindowAlgorithm0.getValues((-3462), 5000, floatArray0);
Test case 9
1: Bases bases0 = new Bases((Sequence) null); 2: Strand strand0 = bases0.getForwardStrand(); 3: GCSDWindowAlgorithm gCSDWindowAlgorithm0 = new GCSDWindowAlgorithm(strand0); 4: float[] floatArray0 = new float[9]; 5: floatArray0[0] = (float) 2; 6: floatArray0[1] = (float) 1358; 7: floatArray0[2] = (float) 0; 8: floatArray0[3] = (float) 1358; 9: floatArray0[4] = (float) 1358; 10: floatArray0[5] = (float) (-1); 11: floatArray0[6] = (float) 5; 12: floatArray0[7] = (float) 5; 13: floatArray0[8] = 0.0F; 14: gCSDWindowAlgorithm0.getValues((-1), 1358, floatArray0);
Test case 10
1: FastaStreamSequence fastaStreamSequence0 = new FastaStreamSequence("'K", "'K"); 2: Bases bases0 = new Bases(fastaStreamSequence0); 3: Strand strand0 = bases0.getForwardStrand(); 4: GCSDWindowAlgorithm gCSDWindowAlgorithm0 = new GCSDWindowAlgorithm(strand0); 5: gCSDWindowAlgorithm0.getDefaultStepSize((-1676)); 6: gCSDWindowAlgorithm0.getAverage();
Test case 11
1: float[] floatArray0 = new float[7]; 2: floatArray0[0] = (float) 513; 3: floatArray0[1] = (float) 843; 4: floatArray0[2] = (float) 513; 5: floatArray0[3] = (float) 513; 6: floatArray0[5] = (float) 843; 7: floatArray0[6] = (float) 513; 8: StringReader stringReader0 = new StringReader("b_WV"); 9: LinePushBackReader linePushBackReader0 = new LinePushBackReader(stringReader0); 10: EmblStreamSequence emblStreamSequence0 = new EmblStreamSequence(linePushBackReader0); 11: Bases bases0 = new Bases(emblStreamSequence0); 12: Strand strand0 = bases0.getReverseStrand(); 13: GCSDWindowAlgorithm gCSDWindowAlgorithm0 = new GCSDWindowAlgorithm(strand0); 14: gCSDWindowAlgorithm0.getAverage();
Source Code
1: No source found for uk.ac.sanger.artemis.plot.GCSDWindowAlgorithm
EvoSuite Parameters
- TARGET_CLASS: uk.ac.sanger.artemis.plot.GCSDWindowAlgorithm
- Size: 11
- Length: 195
- criterion: LINE;BRANCH;EXCEPTION;WEAKMUTATION;OUTPUT;METHOD;METHODNOEXCEPTION;CBRANCH
- Coverage: 0.7215205044673212
- BranchCoverage: 0.6153846153846154
- MethodCoverage: 1.0
- OutputCoverage: 0.35135135135135137