Searched refs:MAX_ERROR (Results 1 – 2 of 2) sorted by relevance
59 #define MAX_ERROR 10000 macro350 g_assert_cmpuint(calibrated_voltage, >, input - MAX_ERROR); in test_calibrate()351 g_assert_cmpuint(calibrated_voltage, <, input + MAX_ERROR); in test_calibrate()
99 #define MAX_ERROR 1 macro543 g_assert_cmphex(cnt + MAX_ERROR, >=, expected_cnt); in mft_verify_rpm()544 g_assert_cmphex(cnt, <=, expected_cnt + MAX_ERROR); in mft_verify_rpm()