Lines Matching refs:IIO_TEST_FORMAT_EXPECT_EQ
10 #define IIO_TEST_FORMAT_EXPECT_EQ(_test, _buf, _ret, _val) do { \ macro
26 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "42\n"); in iio_test_iio_format_value_integer()
30 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "-23\n"); in iio_test_iio_format_value_integer()
34 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "0\n"); in iio_test_iio_format_value_integer()
38 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "2147483647\n"); in iio_test_iio_format_value_integer()
42 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "-2147483648\n"); in iio_test_iio_format_value_integer()
59 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "1.000010\n"); in iio_test_iio_format_value_fixedpoint()
62 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "1.000010 dB\n"); in iio_test_iio_format_value_fixedpoint()
65 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "1.000000010\n"); in iio_test_iio_format_value_fixedpoint()
72 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "0.000012\n"); in iio_test_iio_format_value_fixedpoint()
75 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "0.000012 dB\n"); in iio_test_iio_format_value_fixedpoint()
78 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "0.000000012\n"); in iio_test_iio_format_value_fixedpoint()
85 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "-1.000010\n"); in iio_test_iio_format_value_fixedpoint()
88 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "-1.000010 dB\n"); in iio_test_iio_format_value_fixedpoint()
91 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "-1.000000010\n"); in iio_test_iio_format_value_fixedpoint()
97 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "-0.000123\n"); in iio_test_iio_format_value_fixedpoint()
100 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "-0.000123 dB\n"); in iio_test_iio_format_value_fixedpoint()
103 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "-0.000000123\n"); in iio_test_iio_format_value_fixedpoint()
119 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "0.100000000\n"); in iio_test_iio_format_value_fractional()
125 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "33.333333333\n"); in iio_test_iio_format_value_fractional()
131 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "-0.000000001\n"); in iio_test_iio_format_value_fractional()
137 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "-66.666666666\n"); in iio_test_iio_format_value_fractional()
143 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "0.000000000\n"); in iio_test_iio_format_value_fractional()
159 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "0.120117187\n"); in iio_test_iio_format_value_fractional_log2()
165 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "1205.631835937\n"); in iio_test_iio_format_value_fractional_log2()
171 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "-0.120117187\n"); in iio_test_iio_format_value_fractional_log2()
177 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "-1205.631835937\n"); in iio_test_iio_format_value_fractional_log2()
183 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "0.000000000\n"); in iio_test_iio_format_value_fractional_log2()
197 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "1 -2 3 -4 5 \n"); in iio_test_iio_format_value_multiple()
214 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "24\n"); in iio_test_iio_format_value_integer_64()
220 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "-24\n"); in iio_test_iio_format_value_integer_64()
226 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "0\n"); in iio_test_iio_format_value_integer_64()
232 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "4294967295\n"); in iio_test_iio_format_value_integer_64()
238 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "-4294967295\n"); in iio_test_iio_format_value_integer_64()
244 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "9223372036854775807\n"); in iio_test_iio_format_value_integer_64()
250 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "-9223372036854775808\n"); in iio_test_iio_format_value_integer_64()