blob: b51055a5a29f01693ede6481aa8839f0377d419d (
plain) (
tree)
|
|
object Test{
def main(args : Array[String]): Unit = {
import scala.collection.immutable._
assert(IntMap.empty == HashMap.empty);
assert(HashMap.empty == IntMap.empty);
assert(LongMap.empty == HashMap.empty);
assert(HashMap.empty == LongMap.empty);
assert(IntMap.empty == LongMap.empty);
assert(IntMap(1 -> 2) == HashMap(1 -> 2));
assert(LongMap(1L -> 2) == HashMap(1L -> 2));
}
}
|