diff --git a/biopet-tools/src/test/scala/nl/lumc/sasc/biopet/tools/bamstats/StatsTest.scala b/biopet-tools/src/test/scala/nl/lumc/sasc/biopet/tools/bamstats/StatsTest.scala index 78ec786fedac46626f578eac26b10dbb7ee5b0a7..8ad0b8354cd858e80ae93d854854bc0b06c73a8c 100644 --- a/biopet-tools/src/test/scala/nl/lumc/sasc/biopet/tools/bamstats/StatsTest.scala +++ b/biopet-tools/src/test/scala/nl/lumc/sasc/biopet/tools/bamstats/StatsTest.scala @@ -15,12 +15,6 @@ class StatsTest extends TestNGSuite with Matchers { s1 shouldBe s2 - s1.totalReads += 1 - s1 should not be s2 - - s2.totalReads += 1 - s1 shouldBe s2 - s1.mappingQualityHistogram.add(1) s1 should not be s2 @@ -32,10 +26,6 @@ class StatsTest extends TestNGSuite with Matchers { def testEmpty(): Unit = { val stats = new Stats() - stats.totalReads shouldBe 0 - stats.unmapped shouldBe 0 - stats.secondary shouldBe 0 - stats.clippingHistogram.countsMap shouldBe empty stats.insertSizeHistogram.countsMap shouldBe empty stats.mappingQualityHistogram.countsMap shouldBe empty @@ -50,13 +40,10 @@ class StatsTest extends TestNGSuite with Matchers { val s1 = new Stats() val s2 = new Stats() - s2.totalReads += 1 s2._3_ClippingHistogram.add(1) - s1.totalReads shouldBe 0 s1._3_ClippingHistogram.get(1) shouldBe None s1 += s2 - s1.totalReads shouldBe 1 s1._3_ClippingHistogram.get(1) shouldBe Some(1) } }