Summary

Test suite

Test case 1

  1: VCFRecord vCFRecord0 = new VCFRecord();
  2: VariantBase variantBase0 = new VariantBase(vCFRecord0, "0");
  3: int int0 = variantBase0.getNumberOfIndels(false);
  4: assertEquals(0, int0);

Test case 2

  1: VCFRecord vCFRecord0 = new VCFRecord();
  2: VariantBase variantBase0 = new VariantBase(vCFRecord0, "D");
  3: int int0 = variantBase0.length();
  4: assertEquals(1, int0);

Test case 3

  1: VariantBase variantBase0 = new VariantBase((VCFRecord) null, "");
  2: String string0 = variantBase0.toString();
  3: assertEquals("", string0);

Test case 4

  1: VCFRecord vCFRecord0 = new VCFRecord();
  2: VariantBase variantBase0 = new VariantBase(vCFRecord0, (String) null);
  3: variantBase0.getNumAlleles();

Test case 5

  1: VCFRecord vCFRecord0 = new VCFRecord();
  2: VariantBase variantBase0 = new VariantBase(vCFRecord0, "D");
  3: boolean boolean0 = variantBase0.isDeletion(false);
  4: assertTrue(boolean0);

Test case 6

  1: VariantBase variantBase0 = new VariantBase((VCFRecord) null, "X");
  2: variantBase0.isDeletion(true);

Test case 7

  1: VCFRecord vCFRecord0 = new VCFRecord();
  2: VariantBase variantBase0 = new VariantBase(vCFRecord0, "");
  3: vCFRecord0.setRef("");
  4: boolean boolean0 = variantBase0.isDeletion(true);
  5: assertFalse(boolean0);

Test case 8

  1: VCFRecord vCFRecord0 = new VCFRecord();
  2: VariantBase variantBase0 = new VariantBase(vCFRecord0, "org.biojava.bio.seq.impl.SimpleFeature");
  3: boolean boolean0 = variantBase0.isDeletion(false);
  4: assertFalse(boolean0);

Test case 9

  1: VCFRecord vCFRecord0 = new VCFRecord();
  2: VariantBase variantBase0 = new VariantBase(vCFRecord0, "org.biojava.bio.seq.impl.SimpleFeature");
  3: boolean boolean0 = variantBase0.isInsertion(false);
  4: assertFalse(boolean0);

Test case 10

  1: VCFRecord vCFRecord0 = new VCFRecord();
  2: VariantBase variantBase0 = new VariantBase(vCFRecord0, (String) null);
  3: variantBase0.isInsertion(true);

Test case 11

  1: VCFRecord vCFRecord0 = new VCFRecord();
  2: VariantBase variantBase0 = new VariantBase(vCFRecord0, "");
  3: vCFRecord0.setRef("");
  4: boolean boolean0 = variantBase0.isInsertion(true);
  5: assertFalse(boolean0);

Test case 12

  1: VCFRecord vCFRecord0 = new VCFRecord();
  2: VariantBase variantBase0 = new VariantBase(vCFRecord0, "N&");
  3: vCFRecord0.setRef("");
  4: boolean boolean0 = variantBase0.isInsertion(true);
  5: assertTrue(boolean0);

Test case 13

  1: VCFRecord vCFRecord0 = new VCFRecord();
  2: VariantBase variantBase0 = new VariantBase(vCFRecord0, "org.biojava.bio.seq.impl.SimpleFeature");
  3: boolean boolean0 = variantBase0.isMultiAllele((-1841862325));
  4: assertFalse(boolean0);

Test case 14

  1: VCFRecord vCFRecord0 = new VCFRecord();
  2: VariantBase variantBase0 = new VariantBase(vCFRecord0, "N&");
  3: Pattern pattern0 = VCFRecord.COLON_PATTERN;
  4: VCFRecord.MULTI_ALLELE_PATTERN = pattern0;
  5: Pattern pattern1 = Pattern.compile("N&", 0);
  6: VCFRecord.MULTI_ALLELE_PATTERN = pattern1;
  7: boolean boolean0 = variantBase0.isMultiAllele(2);
  8: assertTrue(boolean0);

Test case 15

  1: VCFRecord vCFRecord0 = new VCFRecord();
  2: VariantBase variantBase0 = new VariantBase(vCFRecord0, "org.biojava.bio.seq.impl.SimpleFeature");
  3: boolean boolean0 = variantBase0.isMultiAllele(337);
  4: assertFalse(boolean0);

Test case 16

  1: VCFRecord vCFRecord0 = new VCFRecord();
  2: VariantBase variantBase0 = new VariantBase(vCFRecord0, "org.biojava.bio.seq.impl.SimpleFeature");
  3: int int0 = variantBase0.getNumberOfIndels(false);
  4: assertEquals(0, int0);

Test case 17

  1: VCFRecord vCFRecord0 = new VCFRecord();
  2: VariantBase variantBase0 = new VariantBase(vCFRecord0, "D");
  3: variantBase0.getNumberOfIndels(true);

Test case 18

  1: VCFRecord vCFRecord0 = new VCFRecord();
  2: VariantBase variantBase0 = new VariantBase(vCFRecord0, "D");
  3: int int0 = variantBase0.getNumberOfIndels(false);
  4: assertEquals(0, int0);

Test case 19

  1: VCFRecord vCFRecord0 = new VCFRecord();
  2: VariantBase variantBase0 = new VariantBase(vCFRecord0, "D");
  3: boolean boolean0 = variantBase0.isNonVariant();
  4: assertFalse(boolean0);

Test case 20

  1: VariantBase variantBase0 = new VariantBase((VCFRecord) null, (String) null);
  2: variantBase0.isMultiAllele(3434);

Test case 21

  1: VariantBase variantBase0 = new VariantBase((VCFRecord) null, (String) null);
  2: variantBase0.isNonVariant();

Test case 22

  1: VCFRecord vCFRecord0 = new VCFRecord();
  2: VariantBase variantBase0 = new VariantBase(vCFRecord0, (String) null);
  3: variantBase0.length();

Test case 23

  1: VCFRecord vCFRecord0 = new VCFRecord();
  2: VariantBase variantBase0 = new VariantBase(vCFRecord0, "!+HqQY+q>aeSD]1A");
  3: int int0 = variantBase0.getNumAlleles();
  4: assertEquals(2, int0);

Test case 24

  1: VCFRecord vCFRecord0 = new VCFRecord();
  2: VariantBase variantBase0 = new VariantBase(vCFRecord0, "N&");
  3: vCFRecord0.setRef("");
  4: int int0 = variantBase0.getNumberOfIndels(true);
  5: assertEquals(2, int0);

Test case 25

  1: VCFRecord vCFRecord0 = new VCFRecord();
  2: VariantBase variantBase0 = new VariantBase(vCFRecord0, "");
  3: int int0 = variantBase0.length();
  4: assertEquals(0, int0);

Test case 26

  1: VCFRecord vCFRecord0 = new VCFRecord();
  2: VariantBase variantBase0 = new VariantBase(vCFRecord0, "!+HqQY+q>aeSD]1A");
  3: String string0 = variantBase0.toString();
  4: assertEquals("!+HqQY+q>aeSD]1A", string0);

Test case 27

  1: VCFRecord vCFRecord0 = new VCFRecord();
  2: VariantBase variantBase0 = new VariantBase(vCFRecord0, "");
  3: boolean boolean0 = variantBase0.isMultiAllele(0);
  4: assertFalse(boolean0);

Test case 28

  1: VCFRecord vCFRecord0 = new VCFRecord();
  2: VariantBase variantBase0 = new VariantBase(vCFRecord0, "!+HqQY+q>aeSD]1A");
  3: int int0 = variantBase0.getNumberOfIndels(false);
  4: assertEquals(0, int0);

Source Code

  1: No source found for uk.ac.sanger.artemis.components.variant.VariantBase

EvoSuite Parameters

  • TARGET_CLASS: uk.ac.sanger.artemis.components.variant.VariantBase
  • Size: 28
  • Length: 88
  • criterion: LINE;BRANCH;EXCEPTION;WEAKMUTATION;OUTPUT;METHOD;METHODNOEXCEPTION;CBRANCH
  • Coverage: 0.8159462779271346
  • BranchCoverage: 0.6428571428571429
  • MethodCoverage: 1.0
  • OutputCoverage: 0.7


Back to Overview