summary refs log tree commit diff stats
path: root/tests/tvartup.nim
diff options
context:
space:
mode:
authorrumpf_a@web.de <>2010-02-21 19:42:36 +0100
committerrumpf_a@web.de <>2010-02-21 19:42:36 +0100
commitd913fdb2800d83680e413cd8a5f07b7f85deac6e (patch)
tree09a284861adf96520059f211ba8bae1a76294a9c /tests/tvartup.nim
parent6bc16904edd3738ab97573b9eeb3a6a7cce9574c (diff)
downloadNim-d913fdb2800d83680e413cd8a5f07b7f85deac6e.tar.gz
start of tests refactoring; sqlite3 new wrapper fixes
Diffstat (limited to 'tests/tvartup.nim')
-rw-r--r--tests/tvartup.nim11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/tvartup.nim b/tests/tvartup.nim
deleted file mode 100644
index 05b00b207..000000000
--- a/tests/tvartup.nim
+++ /dev/null
@@ -1,11 +0,0 @@
-# Test the new tuple unpacking
-
-proc divmod(a, b: int): tuple[di, mo: int] =
-  return (a div b, a mod b)
-  
-var (x, y) = divmod(15, 6)
-stdout.write(x)
-stdout.write(" ")
-stdout.write(y)
-
-#OUT 2 3