mirror of
https://github.com/jwetzell/artnet-go.git
synced 2026-08-31 19:38:58 +00:00
remove constants from packet structs
This commit is contained in:
@@ -17,10 +17,6 @@ func TestGoodArtIpProgUnmarshal(t *testing.T) {
|
||||
Name: "ACT Packet 1",
|
||||
Data: []byte{0x41, 0x72, 0x74, 0x2d, 0x4e, 0x65, 0x74, 0x00, 0x00, 0xf8, 0x00, 0x0e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
|
||||
Expected: &artnet.ArtIpProg{
|
||||
ID: artnet.ArtNetID,
|
||||
OpCode: artnet.OpIpProg,
|
||||
ProtVerHi: 0x00,
|
||||
ProtVerLo: 0x0e,
|
||||
Command: 0x00,
|
||||
ProgIpHi: 0x00,
|
||||
ProgIp2: 0x00,
|
||||
|
||||
Reference in New Issue
Block a user