mirror of
https://github.com/jwetzell/artnet-go.git
synced 2026-09-11 16:29:28 +00:00
fill out tod control test from wireshark dissector
This commit is contained in:
+5
-1
@@ -17,7 +17,11 @@ func TestGoodArtTodControlUnmarshal(t *testing.T) {
|
|||||||
{
|
{
|
||||||
Name: "ACT Packet 1",
|
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},
|
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{},
|
Expected: &artnet.ArtTodControl{
|
||||||
|
Net: 0x00,
|
||||||
|
Command: artnet.AtcFlush,
|
||||||
|
Address: 0x00,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user