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

Merge branch '14-job-failed-648600' into 'main'

Resolve "Job Failed #648600"

Closes #14

See merge request !14
parents d3f062e0 e2a486ef
Branches
1 merge request!14Resolve "Job Failed #648600"
Pipeline #182245 passed with warnings with stages
in 2 hours, 33 minutes, and 41 seconds
...@@ -118,7 +118,7 @@ cleanup: ...@@ -118,7 +118,7 @@ cleanup:
tags: tags:
- cache - cache
script: script:
- docker system prune -a -f || true - docker image prune || true
- rm -rf build/ || true - rm -rf build/ || true
when: always when: always
allow_failure: true allow_failure: true
...@@ -15,7 +15,7 @@ class ZdnaTest extends Specification { ...@@ -15,7 +15,7 @@ class ZdnaTest extends Specification {
int minSequenceSize = 10 int minSequenceSize = 10
float threshold = 0 float threshold = 0
when: when:
def result = zdna.getResults(window, minSequenceSize, threshold) def result = zdna.getResults(window, minSequenceSize, threshold, 25, 3, 3, 0)
then: then:
result[0].position == 6 result[0].position == 6
result[0].length == 27 result[0].length == 27
...@@ -31,7 +31,7 @@ class ZdnaTest extends Specification { ...@@ -31,7 +31,7 @@ class ZdnaTest extends Specification {
int minSequenceSize = 10 int minSequenceSize = 10
float threshold = 0 float threshold = 0
when: when:
def result = zdna.getResults(window, minSequenceSize, threshold) def result = zdna.getResults(window, minSequenceSize, threshold, 25, 3, 3, 0)
then: then:
result[1].position == 37 result[1].position == 37
result[1].length == 16 result[1].length == 16
...@@ -47,7 +47,7 @@ class ZdnaTest extends Specification { ...@@ -47,7 +47,7 @@ class ZdnaTest extends Specification {
int minSequenceSize = 10 int minSequenceSize = 10
float threshold = 40 float threshold = 40
when: when:
def result = zdna.getResults(window, minSequenceSize, threshold) def result = zdna.getResults(window, minSequenceSize, threshold, 25, 3, 3, 0)
then: then:
result[0].position == 37 result[0].position == 37
result[0].length == 16 result[0].length == 16
...@@ -61,7 +61,7 @@ class ZdnaTest extends Specification { ...@@ -61,7 +61,7 @@ class ZdnaTest extends Specification {
int minSequenceSize = 10 int minSequenceSize = 10
float threshold = 200 float threshold = 200
when: when:
def result = zdna.getResults(window, minSequenceSize, threshold) def result = zdna.getResults(window, minSequenceSize, threshold, 25, 3, 3, 0)
then: then:
result == [] 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