PurpleQC { public abstract double purity();  Set<PurpleQCStatus> status(); abstract FittedPurityMethod method(); boolean pass(); abstract int copyNumberSegments(); abstract int unsupportedCopyNumberSegments(); abstract int deletedGenes(); abstract double purity(); abstract double contamination(); @NotNull abstract Gender cobaltGender(); @NotNull abstract Gender amberGender(); @NotNull abstract Set<GermlineAberration> germlineAberrations(); @Override String toString();  }
@Test public void testLowPurity() { assertStatus(builder().purity(PurpleQC.MIN_PURITY), PurpleQCStatus.PASS); assertStatus(builder().purity(PurpleQC.MIN_PURITY - 0.01), PurpleQCStatus.WARN_LOW_PURITY); }