mirror of
https://github.com/jwetzell/artnet-go.git
synced 2026-09-07 06:29:02 +00:00
add todcontrol packet from ACT software
This commit is contained in:
+7
-1
@@ -12,7 +12,13 @@ func TestGoodArtTodControlUnmarshal(t *testing.T) {
|
|||||||
Name string
|
Name string
|
||||||
Data []byte
|
Data []byte
|
||||||
Expected *artnet.ArtTodControl
|
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{},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
for _, test := range tests {
|
for _, test := range tests {
|
||||||
t.Run(test.Name, func(t *testing.T) {
|
t.Run(test.Name, func(t *testing.T) {
|
||||||
|
|||||||
Reference in New Issue
Block a user