changeset 261 | 8997430d9765 |
parent 260 | b4812c877b05 |
child 268 | e43f7e92ba26 |
260:b4812c877b05 | 261:8997430d9765 |
---|---|
1 |
1 |
2 |
2 |
3 assert(get_delta(None, None) == None) |
3 assert(get_delta(None, None) == None) |
4 assert(get_delta(Some(100.0), None) == None) |
4 assert(get_delta(Some(50.0), None) == None) |
5 assert(get_delta(None, Some(50.0)) == None) |
5 assert(get_delta(None, Some(100.0)) == None) |
6 assert(get_delta(Some(100.0), Some(50.0)) == Some(1.0)) |
6 assert(get_delta(Some(50.0), Some(100.0)) == Some(1.0)) |