MCPcopy Create free account
hub / github.com/FastLED/FastLED / setupCodecFilesystem_jpeg

Function setupCodecFilesystem_jpeg

tests/fl/codec/jpeg.hpp:10–16  ·  view source on GitHub ↗

Helper function to set up filesystem for codec tests

Source from the content-addressed store, hash-verified

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

Callers 1

jpeg.hppFile · 0.85

Calls 2

setTestFileSystemRootFunction · 0.85
beginSdMethod · 0.80

Tested by

no test coverage detected