(t *testing.T)
| 23 | ) |
| 24 | |
| 25 | func TestConstantEncoderCache(t *testing.T) { |
| 26 | assert := assert.To(t) |
| 27 | c := newConstantEncoder(device.Little32) |
| 28 | |
| 29 | addr1 := c.writeValues(value.U32(0x1234), value.S16(-1)) |
| 30 | addr2 := c.writeValues(value.U32(0x1234), value.S16(-1)) |
| 31 | assert.For("addr").That(addr1).Equals(addr2) |
| 32 | } |
| 33 | |
| 34 | func TestConstantEncoderAlignment(t *testing.T) { |
| 35 | assert := assert.To(t) |
nothing calls this directly
no test coverage detected