PurpleQC { public abstract int unsupportedCopyNumberSegments();  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 testHighCopyNumberNoise() { assertStatus(builder().unsupportedCopyNumberSegments(PurpleQC.MAX_UNSUPPORTED_SEGMENTS), PurpleQCStatus.PASS); assertStatus(builder().unsupportedCopyNumberSegments(PurpleQC.MAX_UNSUPPORTED_SEGMENTS + 1), PurpleQCStatus.WARN_HIGH_COPY_NUMBER_NOISE); }