Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mirrors
biopet.biopet
Commits
6d39308c
Commit
6d39308c
authored
Jul 21, 2016
by
Peter van 't Hof
Browse files
Fixed test
parent
fb7b5d5d
Changes
1
Hide whitespace changes
Inline
Side-by-side
biopet-tools/src/test/scala/nl/lumc/sasc/biopet/tools/bamstats/StatsTest.scala
View file @
6d39308c
...
...
@@ -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
)
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment