main_marking1/drumb_test4.scala
author Christian Urban <christian.urban@kcl.ac.uk>
Thu, 06 Jun 2024 19:14:33 +0100
changeset 489 d51cacc92480
parent 424 daf561a83ba6
permissions -rw-r--r--
updated to Scala 3



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