mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-08 01:58:34 +08:00
17 lines
306 B
Go
17 lines
306 B
Go
package querynode
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/milvus-io/milvus/internal/proto/schemapb"
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestCGoHelper_Naive(t *testing.T) {
|
|
pb := schemapb.BoolArray{
|
|
Data: []bool{true, false, true, true, true},
|
|
}
|
|
_, err := MarshalForCGo(&pb)
|
|
assert.Nil(t, err)
|
|
}
|