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

fix tests

parent 4f2807ea
Branches
1 merge request!14Resolve "Job Failed #648600"
Pipeline #181241 passed with stages
in 4 minutes and 58 seconds
......@@ -15,7 +15,7 @@ class ZdnaTest extends Specification {
int minSequenceSize = 10
float threshold = 0
when:
def result = zdna.getResults(window, minSequenceSize, threshold)
def result = zdna.getResults(window, minSequenceSize, threshold, 25, 3, 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)
def result = zdna.getResults(window, minSequenceSize, threshold, 25, 3, 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)
def result = zdna.getResults(window, minSequenceSize, threshold, 25, 3, 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)
def result = zdna.getResults(window, minSequenceSize, threshold, 25, 3, 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