Home
last modified time | relevance | path

Searched refs:MAX_ERROR (Results 1 – 2 of 2) sorted by relevance

/qemu/tests/qtest/
H A Dnpcm7xx_adc-test.c59 #define MAX_ERROR 10000 macro
350 g_assert_cmpuint(calibrated_voltage, >, input - MAX_ERROR); in test_calibrate()
351 g_assert_cmpuint(calibrated_voltage, <, input + MAX_ERROR); in test_calibrate()
H A Dnpcm7xx_pwm-test.c99 #define MAX_ERROR 1 macro
543 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()