From 10335fd7264560e9b5a6ca4b2b5fe8e28e78209b Mon Sep 17 00:00:00 2001 From: Araq Date: Wed, 11 Feb 2015 17:42:28 +0100 Subject: fixed minor bugs; cleaned up tests --- tests/table/ptables2.nim | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 tests/table/ptables2.nim (limited to 'tests/table/ptables2.nim') diff --git a/tests/table/ptables2.nim b/tests/table/ptables2.nim deleted file mode 100644 index 939de2b84..000000000 --- a/tests/table/ptables2.nim +++ /dev/null @@ -1,20 +0,0 @@ -discard """ - output: '''true''' -""" - -import tables - -proc TestHashIntInt() = - var tab = newTable[int,int]() - for i in 1..1_000_000: - tab[i] = i - for i in 1..1_000_000: - var x = tab[i] - if x != i : echo "not found ", i - -proc run1() = # occupied Memory stays constant, but - for i in 1 .. 50: # aborts at run: 44 on win32 with 3.2GB with out of memory - TestHashIntInt() - -run1() -echo "true" -- cgit 1.4.1-2-gfad0