marking1/drumb_test4.scala
author Christian Urban <urbanc@in.tum.de>
Wed, 20 Mar 2019 21:50:20 +0000
changeset 264 ecd989eee8bd
parent 261 8997430d9765
child 268 e43f7e92ba26
permissions -rw-r--r--
updated



assert(get_delta(None, None) == None)
assert(get_delta(Some(50.0), None) == None)
assert(get_delta(None, Some(100.0)) == None)
assert(get_delta(Some(50.0), Some(100.0)) == Some(1.0))