main_testing1/drumb_test4.scala
author Christian Urban <christian.urban@kcl.ac.uk>
Fri, 22 Jan 2021 10:35:50 +0000
changeset 387 6282b88511d8
parent 347 4de31fdc0d67
child 402 de59aa20a1dc
permissions -rw-r--r--
updated
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
281
87b9e3e2c1a7 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     1
87b9e3e2c1a7 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     2
87b9e3e2c1a7 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     3
assert(CW6b.get_delta(None, None) == None)
87b9e3e2c1a7 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     4
assert(CW6b.get_delta(Some(50.0), None) == None)
87b9e3e2c1a7 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     5
assert(CW6b.get_delta(None, Some(100.0)) == None)
87b9e3e2c1a7 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     6
assert(CW6b.get_delta(Some(50.0), Some(100.0)) == Some(1.0))