main_marking5/bf_test2.scala
changeset 392 97ecdc8cb61b
child 424 daf561a83ba6
equal deleted inserted replaced
391:0930e4555b60 392:97ecdc8cb61b
       
     1 import CW10a._
       
     2 
       
     3 assert(sread(Map(), 2) == 0)
       
     4 assert(sread(Map(2 -> 1), 2) == 1)
       
     5 assert(write(Map(), 1, 2) == Map(1 -> 2))
       
     6 assert(write(Map(1 -> 0), 1, 2) == Map(1 -> 2))