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

Function test_set1_u32_4

examples/AutoResearch/AutoResearchSimd.h:329–334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

327// ============================================================================
328
329inline bool test_set1_u32_4() {
330 uint32_t output[4] = {0};
331 store_u32_4(output, set1_u32_4(0xDEADBEEF));
332 uint32_t expected[4] = {0xDEADBEEF, 0xDEADBEEF, 0xDEADBEEF, 0xDEADBEEF};
333 return compare_u32(expected, output, 4);
334}
335
336inline bool test_set1_u32_4_zero() {
337 uint32_t output[4] = {1,1,1,1};

Callers

nothing calls this directly

Calls 1

compare_u32Function · 0.85

Tested by

no test coverage detected