marking5/bf1a_test.scala
changeset 254 cc0154804096
parent 253 ec7a12806c3f
child 255 44f2b6e34015
equal deleted inserted replaced
253:ec7a12806c3f 254:cc0154804096
     1 
       
     2 assert(sread(Map(), 2) == 0)
       
     3 assert(sread(Map(2 -> 1), 2) == 1)
       
     4 assert(write(Map(), 1, 2) == Map(1 -> 2))
       
     5 assert(write(Map(1 -> 0), 1, 2) == Map(1 -> 2))