(t *testing.T)
| 146 | } |
| 147 | |
| 148 | func TestAudioLoaderLoadMP3(t *testing.T) { |
| 149 | engo.Files.SetRoot("testdata") |
| 150 | if err := engo.Files.Load("TripleShot.mp3"); err != nil { |
| 151 | t.Errorf("Error while loading. Error: %v", err) |
| 152 | } |
| 153 | _, err := LoadedPlayer("TripleShot.mp3") |
| 154 | if err != nil { |
| 155 | t.Errorf("Error while getting LoadedPlayer. Error: %v", err) |
| 156 | return |
| 157 | } |
| 158 | } |
| 159 | |
| 160 | type testReader struct { |
| 161 | readError bool |
nothing calls this directly
no test coverage detected