From d8358e4d496d15ec8fa4ef4aef432ff2a83513b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michal=20Petrovi=C4=8D?= <mifo.petrovic@gmail.com>
Date: Fri, 1 Mar 2024 13:12:47 +0100
Subject: [PATCH] update tests

---
 .../cz/mendelu/dnaAnalyser/analyse/zdna/ZdnaTest.groovy   | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

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 25c76df..3c571a8 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 == []
     }
-- 
GitLab