(t *testing.T)
| 10 | ) |
| 11 | |
| 12 | func TestCopy(t *testing.T) { |
| 13 | var a = assert.NewAssertion(t) |
| 14 | |
| 15 | var prefix []byte |
| 16 | prefix = append(prefix, 1, 2, 3) |
| 17 | t.Log(prefix, byteutils.Copy(prefix)) |
| 18 | a.IsTrue(bytes.Equal(byteutils.Copy(prefix), []byte{1, 2, 3})) |
| 19 | } |
| 20 | |
| 21 | func TestAppend(t *testing.T) { |
| 22 | var as = assert.NewAssertion(t) |