summary refs log tree commit diff stats
path: root/tests/collections/ttables2.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/collections/ttables2.nim')
-rw-r--r--tests/collections/ttables2.nim30
1 files changed, 0 insertions, 30 deletions
diff --git a/tests/collections/ttables2.nim b/tests/collections/ttables2.nim
deleted file mode 100644
index 6f3fa841a..000000000
--- a/tests/collections/ttables2.nim
+++ /dev/null
@@ -1,30 +0,0 @@
-discard """
-  output: '''true'''
-"""
-
-import tables
-
-proc TestHashIntInt() =
-  var tab = initTable[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()
-
-# bug #2107
-
-var delTab = initTable[int,int](4)
-
-for i in 1..4:
-  delTab[i] = i
-  delTab.del(i)
-delTab[5] = 5
-
-
-run1()
-echo "true"