(a, b []*operation)
| 60 | } |
| 61 | |
| 62 | func operationsEqual(a, b []*operation) bool { |
| 63 | if len(a) != len(b) { |
| 64 | return false |
| 65 | } |
| 66 | for i := range a { |
| 67 | if !a[i].equal(b[i]) { |
| 68 | return false |
| 69 | } |
| 70 | } |
| 71 | return true |
| 72 | } |
| 73 | |
| 74 | func sortOperations(ops []*operation) { |
| 75 | slices.SortFunc(ops, func(a, b *operation) int { |
no test coverage detected
searching dependent graphs…