aboutsummaryrefslogblamecommitdiff
path: root/tests/run/longmap.scala
blob: b67fc75f141104603ee26d153b906956229bb90f (plain) (tree)
1
2
3
4
5
6
7
8







                                                         
object Test extends dotty.runtime.LegacyApp{
  import scala.collection.immutable.LongMap;

  val it = LongMap(8L -> 2, 11L -> 3, 1L -> 2, 7L -> 13);

  assert(it.firstKey == 1L);
  assert(it.lastKey == 11L);
}