lib/encoding: fix test after 8af66ba156

This commit is contained in:
Aliaksandr Valialkin 2023-04-06 00:52:44 -07:00
parent 2570ee253d
commit 1c88a1a756
No known key found for this signature in database
GPG key ID: A72BEC6CD3D0DED1

View file

@ -19,7 +19,7 @@ func TestMarshalUnmarshalInt64Array(t *testing.T) {
v += int64(rand.NormFloat64() * 1e6)
va = append(va, v)
}
for precisionBits := uint8(1); precisionBits < 23; precisionBits++ {
for precisionBits := uint8(1); precisionBits < 22; precisionBits++ {
testMarshalUnmarshalInt64Array(t, va, precisionBits, MarshalTypeZSTDNearestDelta)
}
for precisionBits := uint8(23); precisionBits < 65; precisionBits++ {
@ -33,7 +33,7 @@ func TestMarshalUnmarshalInt64Array(t *testing.T) {
v += 30e6 + int64(rand.NormFloat64()*1e6)
va = append(va, v)
}
for precisionBits := uint8(1); precisionBits < 24; precisionBits++ {
for precisionBits := uint8(1); precisionBits < 23; precisionBits++ {
testMarshalUnmarshalInt64Array(t, va, precisionBits, MarshalTypeZSTDNearestDelta2)
}
for precisionBits := uint8(24); precisionBits < 65; precisionBits++ {