main_marking1/drumb_test4.scala
author Christian Urban <christian.urban@kcl.ac.uk>
Thu, 02 Nov 2023 12:37:58 +0000
changeset 473 ac79c2e534bd
parent 424 daf561a83ba6
permissions -rw-r--r--
updated
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
388
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     1
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     2
424
Christian Urban <christian.urban@kcl.ac.uk>
parents: 388
diff changeset
     3
assert(M1.get_delta(None, None) == None)
Christian Urban <christian.urban@kcl.ac.uk>
parents: 388
diff changeset
     4
assert(M1.get_delta(Some(50.0), None) == None)
Christian Urban <christian.urban@kcl.ac.uk>
parents: 388
diff changeset
     5
assert(M1.get_delta(None, Some(100.0)) == None)
Christian Urban <christian.urban@kcl.ac.uk>
parents: 388
diff changeset
     6
assert(M1.get_delta(Some(50.0), Some(100.0)) == Some(1.0))