main_testing1/drumb_test4.scala
author Christian Urban <christian.urban@kcl.ac.uk>
Mon, 11 Apr 2022 23:55:27 +0100
changeset 424 daf561a83ba6
parent 402 de59aa20a1dc
permissions -rw-r--r--
added
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
402
de59aa20a1dc updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 347
diff changeset
     3
assert(M1.get_delta(None, None) == None)
de59aa20a1dc updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 347
diff changeset
     4
assert(M1.get_delta(Some(50.0), None) == None)
de59aa20a1dc updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 347
diff changeset
     5
assert(M1.get_delta(None, Some(100.0)) == None)
de59aa20a1dc updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 347
diff changeset
     6
assert(M1.get_delta(Some(50.0), Some(100.0)) == Some(1.0))