feat: image pipeline with JPEG decode, resize, and Floyd-Steinberg dithering
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -92,6 +92,16 @@ void test_favorites_weighting() {
|
||||
TEST_ASSERT_EQUAL(5, weighted.size()); // 3 original + 2 extra
|
||||
}
|
||||
|
||||
void test_nearest_color_black();
|
||||
void test_nearest_color_white();
|
||||
void test_nearest_color_red();
|
||||
void test_nearest_color_green();
|
||||
void test_nearest_color_blue();
|
||||
void test_nearest_color_yellow();
|
||||
void test_dither_solid_black();
|
||||
void test_dither_solid_white();
|
||||
void test_dither_produces_valid_indices();
|
||||
|
||||
void setUp() {}
|
||||
void tearDown() {}
|
||||
|
||||
@@ -101,6 +111,15 @@ int main() {
|
||||
RUN_TEST(test_advance_wraps_at_end);
|
||||
RUN_TEST(test_empty_queue_returns_empty);
|
||||
RUN_TEST(test_favorites_weighting);
|
||||
RUN_TEST(test_nearest_color_black);
|
||||
RUN_TEST(test_nearest_color_white);
|
||||
RUN_TEST(test_nearest_color_red);
|
||||
RUN_TEST(test_nearest_color_green);
|
||||
RUN_TEST(test_nearest_color_blue);
|
||||
RUN_TEST(test_nearest_color_yellow);
|
||||
RUN_TEST(test_dither_solid_black);
|
||||
RUN_TEST(test_dither_solid_white);
|
||||
RUN_TEST(test_dither_produces_valid_indices);
|
||||
UNITY_END();
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user