first commit

This commit is contained in:
stuce-bot 2025-06-30 20:47:33 +02:00
commit 5893b00dd2
1669 changed files with 1982740 additions and 0 deletions

View file

@ -0,0 +1,22 @@
// g++ --std=c++11 test.cpp
#include "test.h"
#include "test.h"
#include "lib8tion/intmap.h"
#include "fl/namespace.h"
FASTLED_USING_NAMESPACE
TEST_CASE("map8_to_16") {
CHECK_EQ(map8_to_16(0), 0);
CHECK_EQ(map8_to_16(1), 0x101);
CHECK_EQ(map8_to_16(0xff), 0xffff);
}
TEST_CASE("map8_to_32") {
CHECK_EQ(map8_to_32(0), 0);
CHECK_EQ(map8_to_32(1), 0x1010101);
CHECK_EQ(map8_to_32(0xff), 0xffffffff);
}