(x interface{}, y interface{})
| 3 | import "testing" |
| 4 | |
| 5 | func compare(x interface{}, y interface{}) bool { |
| 6 | return x.(int) < y.(int) |
| 7 | } |
| 8 | |
| 9 | func Test_binaryTree(t *testing.T) { |
| 10 | tree := New(compare) |
nothing calls this directly
no outgoing calls
no test coverage detected