(b *testing.B)
| 268 | } |
| 269 | |
| 270 | func BenchmarkDiffHalfMatch(b *testing.B) { |
| 271 | s1, s2 := speedtestTexts() |
| 272 | |
| 273 | dmp := New() |
| 274 | |
| 275 | b.ResetTimer() |
| 276 | |
| 277 | for i := 0; i < b.N; i++ { |
| 278 | dmp.DiffHalfMatch(s1, s2) |
| 279 | } |
| 280 | } |
| 281 | |
| 282 | func TestDiffBisectSplit(t *testing.T) { |
| 283 | type TestCase struct { |
nothing calls this directly
no test coverage detected
searching dependent graphs…