Commit f20d50c1 authored by flothoni's avatar flothoni

model_test, update tests on top clones displayed

link to #3697
parent 27c3b09b
Pipeline #62192 passed with stages
in 4 minutes and 52 seconds
...@@ -117,7 +117,8 @@ QUnit.test("top clones", function(assert) { ...@@ -117,7 +117,8 @@ QUnit.test("top clones", function(assert) {
assert.equal(m.top, 0, "Top cannot be negative") assert.equal(m.top, 0, "Top cannot be negative")
m.displayTop(m.countRealClones() * 2 + 10) m.displayTop(m.countRealClones() * 2 + 10)
assert.equal(m.current_top, m.countRealClones(), "Top cannot be greater than the number of real clones") assert.equal(m.top, m.countRealClones() * 2 + 10, "Model top can be greater than the number of real clones")
assert.equal(m.current_top, m.countRealClones(), "Current Top cannot be greater than the number of real clones")
m.displayTop(1) m.displayTop(1)
......
Markdown is supported
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