(t *testing.T)
| 26 | ) |
| 27 | |
| 28 | func TestFixed64_Serialize(t *testing.T) { |
| 29 | val := Fixed64(10) |
| 30 | buf := NewZeroCopySink(nil) |
| 31 | val.Serialization(buf) |
| 32 | val2 := Fixed64(0) |
| 33 | val2.Deserialization(NewZeroCopySource(buf.Bytes())) |
| 34 | |
| 35 | assert.Equal(t, val, val2) |
| 36 | } |
| 37 | |
| 38 | func TestFixed64_Deserialize(t *testing.T) { |
| 39 | val := Fixed64(0) |
nothing calls this directly
no test coverage detected