Summary

Test suite

Test case 1

  1: Key key0 = Key.CDS;
  2: FeatureKeyPredicate featureKeyPredicate0 = new FeatureKeyPredicate(key0);
  3: GenbankStreamFeature genbankStreamFeature0 = new GenbankStreamFeature();
  4: Feature feature0 = new Feature(genbankStreamFeature0);
  5: boolean boolean0 = featureKeyPredicate0.testPredicate(feature0);
  6: assertTrue(boolean0);

Test case 2

  1: Key key0 = Key.CDS;
  2: FeatureKeyPredicate featureKeyPredicate0 = new FeatureKeyPredicate(key0);
  3: featureKeyPredicate0.testPredicate((Feature) null);

Test case 3

  1: FeatureKeyPredicate featureKeyPredicate0 = new FeatureKeyPredicate((Key) null);
  2: EmblStreamFeature emblStreamFeature0 = new EmblStreamFeature();
  3: Feature feature0 = new Feature(emblStreamFeature0);
  4: boolean boolean0 = featureKeyPredicate0.testPredicate(feature0);
  5: assertFalse(boolean0);

Source Code

  1: No source found for uk.ac.sanger.artemis.FeatureKeyPredicate

EvoSuite Parameters

  • TARGET_CLASS: uk.ac.sanger.artemis.FeatureKeyPredicate
  • Size: 3
  • Length: 12
  • criterion: LINE;BRANCH;EXCEPTION;WEAKMUTATION;OUTPUT;METHOD;METHODNOEXCEPTION;CBRANCH
  • Coverage: 1.0
  • BranchCoverage: 1.0
  • MethodCoverage: 1.0
  • OutputCoverage: 1.0


Back to Overview