MCPcopy Create free account
hub / github.com/DNAProject/DNA / TestFileExisted

Function TestFileExisted

common/common_test.go:43–49  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

41}
42
43func TestFileExisted(t *testing.T) {
44 assert.True(t, FileExisted("common_test.go"))
45 assert.True(t, FileExisted("common.go"))
46 assert.False(t, FileExisted("../log/log.og"))
47 assert.False(t, FileExisted("../log/log.go"))
48 assert.True(t, FileExisted("./log/log.go"))
49}
50
51func TestBase58(t *testing.T) {
52 addr := ADDRESS_EMPTY

Callers

nothing calls this directly

Calls 1

FileExistedFunction · 0.85

Tested by

no test coverage detected