MCPcopy Index your code
hub / github.com/EngoEngine/engo / TestFilesRegister

Function TestFilesRegister

assets_test.go:61–67  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

59}
60
61func TestFilesRegister(t *testing.T) {
62 Files.Register(".test", &testLoader{})
63 _, ok := Files.formats[".test"]
64 if !ok {
65 t.Error("Files.Register failed to register .test")
66 }
67}
68
69func TestFilesLoad(t *testing.T) {
70 Files.Register(".test", &testLoader{})

Callers

nothing calls this directly

Calls 2

RegisterMethod · 0.45
ErrorMethod · 0.45

Tested by

no test coverage detected