aboutsummaryrefslogtreecommitdiff
path: root/tests/run/t1829.scala
blob: b51055a5a29f01693ede6481aa8839f0377d419d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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));
  }
}