new tester; all tests categorized
This commit is contained in:
parent
51ee524109
commit
20b5f31c03
481 changed files with 794 additions and 2506 deletions
18
tests/seq/ttoseq.nim
Normal file
18
tests/seq/ttoseq.nim
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
discard """
|
||||
output: "2345623456"
|
||||
"""
|
||||
|
||||
import sequtils
|
||||
|
||||
for x in toSeq(countup(2, 6)):
|
||||
stdout.write(x)
|
||||
for x in items(toSeq(countup(2, 6))):
|
||||
stdout.write(x)
|
||||
|
||||
import strutils
|
||||
|
||||
var y: type("a b c".split)
|
||||
y = "xzy"
|
||||
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue