new tester; all tests categorized
This commit is contained in:
parent
51ee524109
commit
20b5f31c03
481 changed files with 794 additions and 2506 deletions
|
|
@ -1,26 +0,0 @@
|
|||
discard """
|
||||
output: "direct\ngeneric\ngeneric"
|
||||
"""
|
||||
|
||||
proc withDirectType(args: string) =
|
||||
echo "direct"
|
||||
|
||||
proc withDirectType[T](arg: T) =
|
||||
echo "generic"
|
||||
|
||||
proc withOpenArray(args: openarray[string]) =
|
||||
echo "openarray"
|
||||
|
||||
proc withOpenArray[T](arg: T) =
|
||||
echo "generic"
|
||||
|
||||
proc withVarargs(args: varargs[string]) =
|
||||
echo "varargs"
|
||||
|
||||
proc withVarargs[T](arg: T) =
|
||||
echo "generic"
|
||||
|
||||
withDirectType "string"
|
||||
withOpenArray "string"
|
||||
withVarargs "string"
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue