MCPcopy
hub / github.com/EngoEngine/engo / TestTMXBadFile

Function TestTMXBadFile

common/tmx_test.go:265–270  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

263}
264
265func TestTMXBadFile(t *testing.T) {
266 err := engo.Files.LoadReaderData("bad.tmx", bytes.NewBufferString(badTMX))
267 if err == nil {
268 t.Error("able to load bad tmx file without an error")
269 }
270}
271
272func TestTMXGrid(t *testing.T) {
273 imgbuf := bytes.NewBuffer([]byte{})

Callers

nothing calls this directly

Calls 2

LoadReaderDataMethod · 0.80
ErrorMethod · 0.45

Tested by

no test coverage detected