mirror of
https://github.com/charlienet/go-mixed.git
synced 2025-07-17 16:12:42 +08:00
16 lines
165 B
Go
16 lines
165 B
Go
package tree
|
|
|
|
import "testing"
|
|
|
|
func TestNewBTree(t *testing.T) {
|
|
tr := NewBTree[Int](32)
|
|
|
|
_ = tr
|
|
}
|
|
|
|
type Int int
|
|
|
|
func (a Int) Less(b Int) bool {
|
|
return a < b
|
|
}
|