From c4ab60515bd1cb10b21ca78a518b138dc47885b6 Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Mon, 8 Sep 2025 21:39:50 -0400 Subject: [PATCH] tape: Test that floating point values can be decoded dynamically --- tape/dynamic_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tape/dynamic_test.go b/tape/dynamic_test.go index 5050ccb..85b83d3 100644 --- a/tape/dynamic_test.go +++ b/tape/dynamic_test.go @@ -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) } }