diff -r a9d84442fb65 -r ec7a12806c3f marking5/bf1a_test.scala --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/marking5/bf1a_test.scala Wed Jan 16 12:20:34 2019 +0000 @@ -0,0 +1,5 @@ + +assert(sread(Map(), 2) == 0) +assert(sread(Map(2 -> 1), 2) == 1) +assert(write(Map(), 1, 2) == Map(1 -> 2)) +assert(write(Map(1 -> 0), 1, 2) == Map(1 -> 2))