main_marking1/drumb_test4.scala
author Christian Urban <christian.urban@kcl.ac.uk>
Fri, 22 Jan 2021 10:37:55 +0000
changeset 388 ed63dca8068a
child 424 daf561a83ba6
permissions -rw-r--r--
update
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
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     3
assert(CW6b.get_delta(None, None) == None)
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     4
assert(CW6b.get_delta(Some(50.0), None) == None)
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     5
assert(CW6b.get_delta(None, Some(100.0)) == None)
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     6
assert(CW6b.get_delta(Some(50.0), Some(100.0)) == Some(1.0))