start of tests refactoring; sqlite3 new wrapper fixes

This commit is contained in:
rumpf_a@web.de 2010-02-21 19:42:36 +01:00
commit d913fdb280
173 changed files with 206 additions and 238 deletions

View file

@ -1,17 +0,0 @@
iterator count1_3: int =
yield 1
yield 2
yield 3
for x in count1_3():
write(stdout, $x)
# yield inside an iterator, but not in a loop:
iterator iter1(a: openArray[int]): int =
yield a[0]
var x = [[1, 2, 3], [4, 5, 6]]
for y in iter1(x[0]): write(stdout, $y)
#OUT 1231