()
| 3 | |
| 4 | |
| 5 | def test_inverse_diff(): |
| 6 | # view parsing ground truth here |
| 7 | # https://github.com/basicthinker/Sexain-MemController/commit/f050c6f6dd4b1d3626574b0d23bb41125f7b75ca |
| 8 | adds_dels = ( |
| 9 | [[7, 31], [27, 3], [44, 1], [50, 2], [70, 1], [77, 2], [99, 2]], |
| 10 | [[32, 44], [56, 70]] |
| 11 | ) |
| 12 | inv_truth = ( |
| 13 | [[65, 13], [79, 15]], |
| 14 | [[8, 38], [59, 61], [66, 66], [73, 74], [80, 80], [88, 89], [112, 113]] |
| 15 | ) |
| 16 | |
| 17 | inv_result = inverse_diff(*adds_dels) |
| 18 | assert(inv_truth == inv_result) |
nothing calls this directly
no test coverage detected