marking5/bf_test2.scala
author Christian Urban <urbanc@in.tum.de>
Wed, 05 Feb 2020 12:24:27 +0000
changeset 332 703c7e42bf46
parent 286 5c57c407e27b
permissions -rw-r--r--
updated

import CW10a._

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))