github.com/parquet-go/parquet-go@v0.21.1-0.20240501160520-b3c3a0c3ed6f/encoding/bytestreamsplit/bytestreamsplit_test.go (about) 1 package bytestreamsplit_test 2 3 import ( 4 "testing" 5 6 "github.com/parquet-go/parquet-go/encoding/bytestreamsplit" 7 "github.com/parquet-go/parquet-go/encoding/fuzz" 8 "github.com/parquet-go/parquet-go/encoding/test" 9 ) 10 11 func FuzzEncodeFloat(f *testing.F) { 12 fuzz.EncodeFloat(f, new(bytestreamsplit.Encoding)) 13 } 14 15 func FuzzEncodeDouble(f *testing.F) { 16 fuzz.EncodeDouble(f, new(bytestreamsplit.Encoding)) 17 } 18 19 func TestEncodeFloat(t *testing.T) { 20 test.EncodeFloat(t, new(bytestreamsplit.Encoding), 0, 100) 21 } 22 23 func TestEncodeDouble(t *testing.T) { 24 test.EncodeDouble(t, new(bytestreamsplit.Encoding), 0, 100) 25 }