main_testing1/drumb_test4.scala
author Christian Urban <christian.urban@kcl.ac.uk>
Sat, 11 Mar 2023 22:42:09 +0000
changeset 464 73ced118f73d
parent 402 de59aa20a1dc
permissions -rw-r--r--
updated to scala 3
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))