updated tests to be executed

This commit is contained in:
Arne Döring 2018-11-14 23:14:16 +01:00 • committed by Araq
commit e012eb1001
57 changed files with 341 additions and 90 deletions

View file

@ -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