marking5/bf_test2.scala
changeset 253 ec7a12806c3f
child 286 5c57c407e27b
equal deleted inserted replaced
252:a9d84442fb65 253:ec7a12806c3f
       
     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))