blob: c5f8d7d3d1ba80688210227d308208968a3f2702 (
plain) (
blame)
1
2
3
4
5
6
7
8
|
object Test extends App{
import scala.collection.immutable.IntMap;
val it = IntMap(8 -> 2, 11 -> 3, 1 -> 2, 7 -> 13);
assert(it.firstKey == 1);
assert(it.lastKey == 11);
}
|