func TestEmpty(t *testing.T) {
	vp := New(nil)
	qp := uint64(0)

	coords, distances := vp.Search(qp, 3)

	if len(coords) != 0 {
		t.Error("coords should have been of length 0")
	}

	if len(distances) != 0 {
		t.Error("distances should have been of length 0")
	}
}
// This test makes sure vptree's behavior is sane with no input items
This test makes sure vptree's behavior is sane with no input items
// This test makes sure vptree ' s behavior is sane with no input items
func TestEmpty(t *testing.T) {
	vp := New(nil)
	qp := uint64(0)
	coords, distances := vp.Search(qp, 3)
	if len(coords) != 0 {
		t.Error("coords should have been of length 0")
	}
	if len(distances) != 0 {
		t.Error("distances should have been of length 0")
	}
}
func TestEmpty ( t * testing . T ) { vp := New ( nil ) qp := uint64 ( 0 ) coords , distances := vp . Search ( qp , 3 ) if len ( coords ) != 0 { t . Error ( " " ) } if len ( distances ) != 0 { t . Error ( " " ) } }
This test makes sure vptree's behavior is sane with no input items
This test makes sure vptree ' s behavior is sane with no input items