fill out tod control test from wireshark dissector

This commit is contained in:
Joel Wetzell
2026-05-30 09:21:59 -05:00
parent b71986eaba
commit c179b8fc26
+7 -3
View File
@@ -15,9 +15,13 @@ func TestGoodArtTodControlUnmarshal(t *testing.T) {
Expected *artnet.ArtTodControl
}{
{
Name: "ACT Packet 1",
Data: []byte{0x41, 0x72, 0x74, 0x2d, 0x4e, 0x65, 0x74, 0x00, 0x00, 0x82, 0x00, 0x0e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00},
Expected: &artnet.ArtTodControl{},
Name: "ACT Packet 1",
Data: []byte{0x41, 0x72, 0x74, 0x2d, 0x4e, 0x65, 0x74, 0x00, 0x00, 0x82, 0x00, 0x0e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00},
Expected: &artnet.ArtTodControl{
Net: 0x00,
Command: artnet.AtcFlush,
Address: 0x00,
},
},
}