changeset 261 | 8997430d9765 |
parent 260 | b4812c877b05 |
child 268 | e43f7e92ba26 |
--- a/marking1/drumb_test4.scala Sat Feb 02 01:21:43 2019 +0000 +++ b/marking1/drumb_test4.scala Sat Feb 02 13:28:05 2019 +0000 @@ -1,6 +1,6 @@ assert(get_delta(None, None) == None) -assert(get_delta(Some(100.0), None) == None) -assert(get_delta(None, Some(50.0)) == None) -assert(get_delta(Some(100.0), Some(50.0)) == Some(1.0)) +assert(get_delta(Some(50.0), None) == None) +assert(get_delta(None, Some(100.0)) == None) +assert(get_delta(Some(50.0), Some(100.0)) == Some(1.0))