updated tests to be executed
This commit is contained in:
parent
8ea72bdcea
commit
e012eb1001
57 changed files with 341 additions and 90 deletions
|
|
@ -17,10 +17,7 @@ proc echoSeq(a: seq[int]) =
|
|||
for i in low(a)..high(a):
|
||||
echo(a[i])
|
||||
|
||||
var
|
||||
list: seq[int]
|
||||
|
||||
list = QuickSort(@[89,23,15,23,56,123,356,12,7,1,6,2,9,4,3])
|
||||
echoSeq(list)
|
||||
|
||||
let list = QuickSort(@[89,23,15,23,56,123,356,12,7,1,6,2,9,4,3])
|
||||
let expected = @[1, 2, 3, 4, 6, 7, 9, 12, 15, 23, 56, 89, 123, 356]
|
||||
|
||||
doAssert list == expected
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue