diff --git a/todcontrol_test.go b/todcontrol_test.go index a71a478..f73e01f 100644 --- a/todcontrol_test.go +++ b/todcontrol_test.go @@ -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, + }, }, }