testing5/bf_test2.scala
changeset 236 e461b5325b5e
parent 235 c989f50da5de
child 286 5c57c407e27b
equal deleted inserted replaced
235:c989f50da5de 236:e461b5325b5e
       
     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))