@Test(dataProvider = "RBPCountingTest") public void testRBPCountingTestMultiSample(RBPCountTest params) { final RBPCountTest newSample = new RBPCountTest(2, 1, 1); final Map<String, ReadBackedPileupImpl> pileupsBySample = new HashMap<String, ReadBackedPileupImpl>(); pileupsBySample.put(newSample.sample, newSample.makePileup()); pileupsBySample.put(params.sample, params.makePileup()); final ReadBackedPileup pileup = new ReadBackedPileupImpl(loc, pileupsBySample); testRBPCounts( pileup, new RBPCountTest(params.nReads + 2, params.nMapq0 + 1, params.nDeletions + 1)); }
@Test(dataProvider = "RBPCountingTest") public void testRBPCountingTestSinglePileup(RBPCountTest params) { testRBPCounts(params.makePileup(), params); }