| 12 | // ============================================================================ |
| 13 | |
| 14 | bool compare_u8_arrays(const uint8_t* a, const uint8_t* b, size_t count) { |
| 15 | for (size_t i = 0; i < count; i++) { |
| 16 | if (a[i] != b[i]) { |
| 17 | return false; |
| 18 | } |
| 19 | } |
| 20 | return true; |
| 21 | } |
| 22 | |
| 23 | bool compare_f32_arrays(const float* a, const float* b, size_t count, float epsilon) { |
| 24 | for (size_t i = 0; i < count; i++) { |
no outgoing calls
no test coverage detected