diff options
author | stenman <stenman@epfl.ch> | 2003-11-26 14:23:16 +0000 |
---|---|---|
committer | stenman <stenman@epfl.ch> | 2003-11-26 14:23:16 +0000 |
commit | 24349248b132f9de8715de87adf7521cf3efb40f (patch) | |
tree | 1673bfef08ec0bb898d8ec327ddc0e57dad614e8 /test/files/run/map_test.scala | |
parent | bfe5383a1e3f0ff9850a3ec05d30ab28222b4719 (diff) | |
download | scala-24349248b132f9de8715de87adf7521cf3efb40f.tar.gz scala-24349248b132f9de8715de87adf7521cf3efb40f.tar.bz2 scala-24349248b132f9de8715de87adf7521cf3efb40f.zip |
Bugfixes to Tree and TreeMap
Diffstat (limited to 'test/files/run/map_test.scala')
-rw-r--r-- | test/files/run/map_test.scala | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/files/run/map_test.scala b/test/files/run/map_test.scala index 9c4bd2814e..7e91955317 100644 --- a/test/files/run/map_test.scala +++ b/test/files/run/map_test.scala @@ -9,14 +9,13 @@ object Test with Executable { test1(); test2(); - Console.println("OK"); def test1() = { val myMap:TreeMap[int,String] = new TreeMap(intOrder); - test_map(myMap); + test_map(myMap); } def test2() = { @@ -29,8 +28,7 @@ object Test with Executable { val map2 = map1.update(17,"A small random number"); val map3 = map2.update(666,"A bigger random number"); val map4 = map3.update(4711,"A big random number"); - // val map1 = myMap + 42 -> "The answer"; - Console.println(map4); + map1 == myMap + 42 -> "The answer"; var i = 0; var map = map4; while(i < 43) { |