MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / TestCopy

Function TestCopy

internal/utils/byte/utils_test.go:12–19  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

10)
11
12func 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
21func TestAppend(t *testing.T) {
22 var as = assert.NewAssertion(t)

Callers

nothing calls this directly

Calls 2

LogMethod · 0.80
CopyMethod · 0.80

Tested by

no test coverage detected