Summary

Test suite

Test case 1

  1: FeatureForUpdatingResidues featureForUpdatingResidues0 = new FeatureForUpdatingResidues();
  2: int int0 = featureForUpdatingResidues0.getLength();
  3: assertEquals(0, int0);
  4: assertFalse(featureForUpdatingResidues0.isResidueUpdate());

Test case 2

  1: FeatureForUpdatingResidues featureForUpdatingResidues0 = new FeatureForUpdatingResidues();
  2: featureForUpdatingResidues0.setNewSubSequence("$_eTDN?wFMw_S(Ag");
  3: featureForUpdatingResidues0.getNewSubSequence();
  4: assertFalse(featureForUpdatingResidues0.isResidueUpdate());

Test case 3

  1: FeatureForUpdatingResidues featureForUpdatingResidues0 = new FeatureForUpdatingResidues();
  2: featureForUpdatingResidues0.getNewSubSequence();
  3: assertFalse(featureForUpdatingResidues0.isResidueUpdate());

Test case 4

  1: FeatureForUpdatingResidues featureForUpdatingResidues0 = new FeatureForUpdatingResidues();
  2: featureForUpdatingResidues0.setLength(42);
  3: int int0 = featureForUpdatingResidues0.getLength();
  4: assertEquals(42, int0);

Test case 5

  1: FeatureForUpdatingResidues featureForUpdatingResidues0 = new FeatureForUpdatingResidues();
  2: int int0 = featureForUpdatingResidues0.getEndBase();
  3: assertFalse(featureForUpdatingResidues0.isResidueUpdate());
  4: assertEquals(0, int0);

Test case 6

  1: FeatureForUpdatingResidues featureForUpdatingResidues0 = new FeatureForUpdatingResidues();
  2: boolean boolean0 = featureForUpdatingResidues0.isResidueUpdate();
  3: assertFalse(boolean0);

Test case 7

  1: FeatureForUpdatingResidues featureForUpdatingResidues0 = new FeatureForUpdatingResidues();
  2: int int0 = featureForUpdatingResidues0.getBasesToEnd();
  3: assertFalse(featureForUpdatingResidues0.isResidueUpdate());
  4: assertEquals(0, int0);

Test case 8

  1: FeatureForUpdatingResidues featureForUpdatingResidues0 = new FeatureForUpdatingResidues();
  2: featureForUpdatingResidues0.setEndBase((-719));
  3: int int0 = featureForUpdatingResidues0.getEndBase();
  4: assertEquals((-719), int0);

Test case 9

  1: FeatureForUpdatingResidues featureForUpdatingResidues0 = new FeatureForUpdatingResidues();
  2: int int0 = featureForUpdatingResidues0.getStartBase();
  3: assertFalse(featureForUpdatingResidues0.isResidueUpdate());
  4: assertEquals(0, int0);

Test case 10

  1: FeatureForUpdatingResidues featureForUpdatingResidues0 = new FeatureForUpdatingResidues();
  2: featureForUpdatingResidues0.setBasesToEnd((-3257));
  3: int int0 = featureForUpdatingResidues0.getBasesToEnd();
  4: assertEquals((-3257), int0);

Test case 11

  1: FeatureForUpdatingResidues featureForUpdatingResidues0 = new FeatureForUpdatingResidues();
  2: featureForUpdatingResidues0.setBasesToEnd(32);
  3: int int0 = featureForUpdatingResidues0.getBasesToEnd();
  4: assertEquals(32, int0);

Test case 12

  1: FeatureForUpdatingResidues featureForUpdatingResidues0 = new FeatureForUpdatingResidues();
  2: featureForUpdatingResidues0.setEndBase(13);
  3: int int0 = featureForUpdatingResidues0.getEndBase();
  4: assertEquals(13, int0);

Test case 13

  1: FeatureForUpdatingResidues featureForUpdatingResidues0 = new FeatureForUpdatingResidues();
  2: featureForUpdatingResidues0.setLength((-1));
  3: int int0 = featureForUpdatingResidues0.getLength();
  4: assertEquals((-1), int0);

Test case 14

  1: FeatureForUpdatingResidues featureForUpdatingResidues0 = new FeatureForUpdatingResidues();
  2: featureForUpdatingResidues0.setNewSubSequence("");
  3: featureForUpdatingResidues0.getNewSubSequence();
  4: assertFalse(featureForUpdatingResidues0.isResidueUpdate());

Test case 15

  1: FeatureForUpdatingResidues featureForUpdatingResidues0 = new FeatureForUpdatingResidues();
  2: featureForUpdatingResidues0.setStartBase((-1692));
  3: int int0 = featureForUpdatingResidues0.getStartBase();
  4: assertEquals((-1692), int0);

Test case 16

  1: FeatureForUpdatingResidues featureForUpdatingResidues0 = new FeatureForUpdatingResidues();
  2: featureForUpdatingResidues0.setStartBase(1);
  3: int int0 = featureForUpdatingResidues0.getStartBase();
  4: assertEquals(1, int0);

Test case 17

  1: FeatureForUpdatingResidues featureForUpdatingResidues0 = new FeatureForUpdatingResidues();
  2: assertFalse(featureForUpdatingResidues0.isResidueUpdate());
  3: 
  4: featureForUpdatingResidues0.setResidueUpdate(true);
  5: boolean boolean0 = featureForUpdatingResidues0.isResidueUpdate();
  6: assertTrue(boolean0);

Source Code

  1: No source found for uk.ac.sanger.artemis.chado.FeatureForUpdatingResidues

EvoSuite Parameters

  • TARGET_CLASS: uk.ac.sanger.artemis.chado.FeatureForUpdatingResidues
  • Size: 17
  • Length: 45
  • criterion: LINE;BRANCH;EXCEPTION;WEAKMUTATION;OUTPUT;METHOD;METHODNOEXCEPTION;CBRANCH
  • Coverage: 1.0
  • BranchCoverage: 1.0
  • MethodCoverage: 1.0
  • OutputCoverage: 1.0


Back to Overview