blob: 7c39d33ae95f6b26ffd5120ad2d0ee57eccc5b34 (
plain) (
tree)
|
|
object Test{
def main(args : Array[String]){
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));
}
}
|