main_testing5/bf_test2.scala
changeset 348 b5b6ed38c2f2
parent 286 5c57c407e27b
child 404 bf20a9fa5c29
equal deleted inserted replaced
347:4de31fdc0d67 348:b5b6ed38c2f2
       
     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))