assert(M1.get_delta(None, None) == None) assert(M1.get_delta(Some(50.0), None) == None) assert(M1.get_delta(None, Some(100.0)) == None) assert(M1.get_delta(Some(50.0), Some(100.0)) == Some(1.0))