Skip to content
Snippets Groups Projects
Commit d8358e4d authored by Michal Petrovič's avatar Michal Petrovič
Browse files

update tests

parent f266d330
Branches
No related merge requests found
......@@ -15,7 +15,7 @@ class ZdnaTest extends Specification {
int minSequenceSize = 10
float threshold = 0
when:
def result = zdna.getResults(window, minSequenceSize, threshold, 25, 3, 3, 0)
def result = zdna.getResults(window, minSequenceSize, threshold, 25, 3, 0,)
then:
result[0].position == 6
result[0].length == 27
......@@ -31,7 +31,7 @@ class ZdnaTest extends Specification {
int minSequenceSize = 10
float threshold = 0
when:
def result = zdna.getResults(window, minSequenceSize, threshold, 25, 3, 3, 0)
def result = zdna.getResults(window, minSequenceSize, threshold, 25, 3, 0)
then:
result[1].position == 37
result[1].length == 16
......@@ -47,7 +47,7 @@ class ZdnaTest extends Specification {
int minSequenceSize = 10
float threshold = 40
when:
def result = zdna.getResults(window, minSequenceSize, threshold, 25, 3, 3, 0)
def result = zdna.getResults(window, minSequenceSize, threshold, 25, 3, 0)
then:
result[0].position == 37
result[0].length == 16
......@@ -61,7 +61,7 @@ class ZdnaTest extends Specification {
int minSequenceSize = 10
float threshold = 200
when:
def result = zdna.getResults(window, minSequenceSize, threshold, 25, 3, 3, 0)
def result = zdna.getResults(window, minSequenceSize, threshold, 25, 3, 0)
then:
result == []
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment