tape: Test that floating point values can be decoded dynamically

This commit is contained in:
Sasha Koshka 2025-09-08 21:39:50 -04:00
parent 8b0915dff1
commit c4ab60515b

View File

@ -190,6 +190,8 @@ func TestEncodeDecodeAnyTable(test *testing.T) {
0x0000: []byte("hi!"),
0xFFFF: []uint16 { 0xBEE5, 0x7777 },
0x1234: [][]uint16 { []uint16 { 0x5 }, []uint16 { 0x17, 0xAAAA} },
0x1F1F: float32(67.26),
0x0F0F: float64(5.3),
}, nil)
if err != nil { test.Fatal(err) }
}