mirror of
https://github.com/charlienet/go-mixed.git
synced 2025-07-18 08:32:40 +08:00
create
This commit is contained in:
15
tree/btree_test.go
Normal file
15
tree/btree_test.go
Normal file
@ -0,0 +1,15 @@
|
||||
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
|
||||
}
|
Reference in New Issue
Block a user