make run the default action of a test in tester

This commit is contained in:
Arne Döring 2018-11-13 15:21:14 +01:00 • committed by Araq
commit 031bfdec6f
50 changed files with 313 additions and 46 deletions

View file

@ -1,3 +1,18 @@
discard """
output: '''
3 4
4 5
5 6
6 7
7 8
(x: 3, y: 4)
(x: 4, y: 5)
(x: 5, y: 6)
(x: 6, y: 7)
(x: 7, y: 8)
'''
"""
iterator xrange(fromm, to: int, step = 1): tuple[x, y: int] =
var a = fromm
@ -10,4 +25,3 @@ for a, b in xrange(3, 7):
for tup in xrange(3, 7):
echo tup