()
| 58 | |
| 59 | |
| 60 | def test_inverse_diff(): |
| 61 | # view parsing ground truth here |
| 62 | # https://github.com/basicthinker/Sexain-MemController/commit/f050c6f6dd4b1d3626574b0d23bb41125f7b75ca |
| 63 | adds_dels = ( |
| 64 | [[7, 31], [27, 3], [44, 1], [50, 2], [70, 1], [77, 2], [99, 2]], |
| 65 | [[32, 44], [56, 70]] |
| 66 | ) |
| 67 | inv_truth = ( |
| 68 | [[65, 13], [79, 15]], |
| 69 | [[8, 38], [59, 61], [66, 66], [73, 74], [80, 80], [88, 89], [112, 113]] |
| 70 | ) |
| 71 | |
| 72 | inv_result = _inverse_diff_result(*adds_dels) |
| 73 | assert(inv_truth == inv_result) |
| 74 | |
| 75 | |
| 76 | def assert_graphs_equal(G1, G2): |
nothing calls this directly
no test coverage detected