testing1/drumb_test4.scala
author Christian Urban <urbanc@in.tum.de>
Thu, 31 Oct 2019 09:20:43 +0000
changeset 294 7a945c3b86c7
parent 281 87b9e3e2c1a7
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))