Commit 58ec797b authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 5a088ffa
...@@ -105,10 +105,26 @@ func TestPktMarshal(t *testing.T) { ...@@ -105,10 +105,26 @@ func TestPktMarshal(t *testing.T) {
hex("0000000b") + "hello world" + hex("0000000b") + "hello world" +
hex("0a0b0c0d0e0f01030a0b0c0d0e0f010401")}, hex("0a0b0c0d0e0f01030a0b0c0d0e0f010401")},
// TODO bool, [], map // PTid, [] (of [] of ...)
// TODO Address, Checksum, Tid, PTid {&AnswerPartitionTable{
PTid: 0x0102030405060708,
RowList: []RowInfo{
{1, []CellInfo{{11, UP_TO_DATE}, {17, OUT_OF_DATE}}},
{2, []CellInfo{{11, FEEDING}}},
{7, []CellInfo{{11, CORRUPTED}, {15, DISCARDED}, {23, UP_TO_DATE}}},
},
},
hex("")},
/*
// uint32, Address, string, float64
{&RequestIdentification{...}}, // TODO
*/
// bool: StoreObject, AnswerGetObject // TODO float64 (+ nan !nan ...)
// TODO [](!byte), map
// TODO Address, PTid
} }
for _, tt := range testv { for _, tt := range testv {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment