Lines Matching refs:expected_output
208 uint32_t index, input, output, expected_output; in test_convert_internal() local
215 expected_output = adc_calculate_output(input, DEFAULT_IREF); in test_convert_internal()
225 g_assert_cmpuint(output, ==, expected_output); in test_convert_internal()
236 uint32_t index, input, vref, output, expected_output; in test_convert_external() local
245 expected_output = adc_calculate_output(input, vref); in test_convert_external()
256 g_assert_cmpuint(output, ==, expected_output); in test_convert_external()
268 uint32_t index, input, output, expected_output; in test_interrupt() local
273 expected_output = adc_calculate_output(input, DEFAULT_IREF); in test_interrupt()
285 g_assert_cmpuint(output, ==, expected_output); in test_interrupt()
329 uint32_t expected_output; in test_calibrate() local
338 expected_output = adc_calculate_output(input, iref); in test_calibrate()
347 g_assert_cmpuint(output, ==, expected_output); in test_calibrate()