| 247 | } |
| 248 | |
| 249 | inline bool test_max_u8_16() { |
| 250 | uint8_t a[16] = {10,200,30,240, 0,255,1,254, 10,200,30,240, 0,255,1,254}; |
| 251 | uint8_t b[16] = {20,100,40,120, 0,0,255,255, 20,100,40,120, 0,0,255,255}; |
| 252 | uint8_t expected[16] = {20,200,40,240, 0,255,255,255, 20,200,40,240, 0,255,255,255}; |
| 253 | uint8_t output[16] = {0}; |
| 254 | store_u8_16(output, max_u8_16(load_u8_16(a), load_u8_16(b))); |
| 255 | return compare_u8(expected, output, 16); |
| 256 | } |
| 257 | |
| 258 | inline bool test_avg_u8_16() { |
| 259 | uint8_t a[16] = {100,200,50,0, 255,0,1,254, 100,200,50,0, 255,0,1,254}; |
nothing calls this directly
no test coverage detected