Helper function to set up filesystem for codec tests
| 7 | |
| 8 | // Helper function to set up filesystem for codec tests |
| 9 | static fl::FileSystem setupCodecFilesystem_gif() { |
| 10 | fl::setTestFileSystemRoot("tests"); |
| 11 | fl::FileSystem fs; |
| 12 | bool ok = fs.beginSd(5); |
| 13 | FL_REQUIRE(ok); |
| 14 | return fs; |
| 15 | } |
| 16 | |
| 17 | FL_TEST_CASE("GIF file loading and decoding") { |
| 18 | fl::FileSystem fs = setupCodecFilesystem_gif(); |
no test coverage detected