summaryrefslogtreecommitdiff
path: root/test/files
diff options
context:
space:
mode:
authorLex Spoon <lex@lexspoon.org>2007-01-19 13:48:57 +0000
committerLex Spoon <lex@lexspoon.org>2007-01-19 13:48:57 +0000
commite1d945a2ed7ad6a5bdbfc0f465ebc088a660c1d5 (patch)
tree5b5addb1fc755ef5c6949a5f0ede7b0d9f370cc6 /test/files
parent69001ca4f908c1187c2cab9af01930b65f84f2e3 (diff)
downloadscala-e1d945a2ed7ad6a5bdbfc0f465ebc088a660c1d5.tar.gz
scala-e1d945a2ed7ad6a5bdbfc0f465ebc088a660c1d5.tar.bz2
scala-e1d945a2ed7ad6a5bdbfc0f465ebc088a660c1d5.zip
Added tests for HashTreeSet and HashTreeMap
Diffstat (limited to 'test/files')
-rw-r--r--test/files/run/collections.check8
-rwxr-xr-xtest/files/run/collections.scala2
2 files changed, 10 insertions, 0 deletions
diff --git a/test/files/run/collections.check b/test/files/run/collections.check
index ad92767fa6..33a8551bf3 100644
--- a/test/files/run/collections.check
+++ b/test/files/run/collections.check
@@ -22,6 +22,14 @@ test3: 1013003
test1: 14005
test2: 1013003
test3: 1013003
+***** immutable.HashTreeSet:
+test1: 14005
+test2: 25005003
+test3: 25005003
+***** immutable.HashTreeMap:
+test1: 14005
+test2: 1013003
+test3: 1013003
***** mutable.HashMap:
test1: 14005
test2: 25005003
diff --git a/test/files/run/collections.scala b/test/files/run/collections.scala
index 5e97b2df38..6717b524bb 100755
--- a/test/files/run/collections.scala
+++ b/test/files/run/collections.scala
@@ -96,5 +96,7 @@ object Test extends Application {
test("immutable.ListMap", new immutable.ListMap[int, int])
test("immutable.TreeMap", new immutable.TreeMap[int, int])
test("immutable.UnBalancedTreeMap", new immutable.UnbalancedTreeMap[int, int])
+ test("immutable.HashTreeSet", new immutable.HashTreeSet[int])
+ test("immutable.HashTreeMap", new immutable.HashTreeMap[int, int])
test("mutable.HashMap", new mutable.HashMap[int, int])
}