updated tests to be executed
This commit is contained in:
parent
8ea72bdcea
commit
e012eb1001
57 changed files with 341 additions and 90 deletions
|
|
@ -1,3 +1,9 @@
|
|||
discard """
|
||||
output: '''
|
||||
M=1000, D=500, C=100, L=50, X=10, V=5, I=1
|
||||
'''
|
||||
"""
|
||||
|
||||
const romanNumbers = [
|
||||
("M", 1000), ("D", 500), ("C", 100),
|
||||
("L", 50), ("X", 10), ("V", 5), ("I", 1) ]
|
||||
|
|
@ -12,5 +18,3 @@ for key, val in items(romanNumbers):
|
|||
proc PrintBiTuple(t: tuple[k: string, v: int]): int =
|
||||
stdout.write(t.k & "=" & $t.v & ", ")
|
||||
return 0
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue