diff --git a/src/test/groovy/cz/mendelu/dnaAnalyser/analyse/zdna/ZdnaTest.groovy b/src/test/groovy/cz/mendelu/dnaAnalyser/analyse/zdna/ZdnaTest.groovy index 25c76df9be542344cedf98dd56da582f40eb8bdf..3c571a8ab1e120eef6f9bca9611ef80bf2f96716 100644 --- a/src/test/groovy/cz/mendelu/dnaAnalyser/analyse/zdna/ZdnaTest.groovy +++ b/src/test/groovy/cz/mendelu/dnaAnalyser/analyse/zdna/ZdnaTest.groovy @@ -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 == [] }