Lines Matching refs:tests
25 static uint32_t tests[8] = { variable
51 for (i = 0; i < ARRAY_SIZE(tests); ++i) { in test_and()
52 for (j = 0; j < ARRAY_SIZE(tests); ++j) { in test_and()
53 Int128 a = expand(tests[i]); in test_and()
54 Int128 b = expand(tests[j]); in test_and()
55 Int128 r = expand(tests[i] & tests[j]); in test_and()
67 for (i = 0; i < ARRAY_SIZE(tests); ++i) { in test_add()
68 for (j = 0; j < ARRAY_SIZE(tests); ++j) { in test_add()
69 Int128 a = expand(tests[i]); in test_add()
70 Int128 b = expand(tests[j]); in test_add()
71 Int128 r = expand(tests[i] + tests[j]); in test_add()
83 for (i = 0; i < ARRAY_SIZE(tests); ++i) { in test_sub()
84 for (j = 0; j < ARRAY_SIZE(tests); ++j) { in test_sub()
85 Int128 a = expand(tests[i]); in test_sub()
86 Int128 b = expand(tests[j]); in test_sub()
87 Int128 r = expand(tests[i] - tests[j]); in test_sub()
99 for (i = 0; i < ARRAY_SIZE(tests); ++i) { in test_neg()
100 Int128 a = expand(tests[i]); in test_neg()
101 Int128 r = expand(-tests[i]); in test_neg()
112 for (i = 0; i < ARRAY_SIZE(tests); ++i) { in test_nz()
113 for (j = 0; j < ARRAY_SIZE(tests); ++j) { in test_nz()
114 Int128 a = expand(tests[i]); in test_nz()
115 g_assert_cmpuint(int128_nz(a), ==, tests[i] != 0); in test_nz()
124 for (i = 0; i < ARRAY_SIZE(tests); ++i) { in test_le()
125 for (j = 0; j < ARRAY_SIZE(tests); ++j) { in test_le()
127 int32_t a = (int32_t) tests[i]; in test_le()
128 int32_t b = (int32_t) tests[j]; in test_le()
138 for (i = 0; i < ARRAY_SIZE(tests); ++i) { in test_lt()
139 for (j = 0; j < ARRAY_SIZE(tests); ++j) { in test_lt()
141 int32_t a = (int32_t) tests[i]; in test_lt()
142 int32_t b = (int32_t) tests[j]; in test_lt()
152 for (i = 0; i < ARRAY_SIZE(tests); ++i) { in test_ge()
153 for (j = 0; j < ARRAY_SIZE(tests); ++j) { in test_ge()
155 int32_t a = (int32_t) tests[i]; in test_ge()
156 int32_t b = (int32_t) tests[j]; in test_ge()
166 for (i = 0; i < ARRAY_SIZE(tests); ++i) { in test_gt()
167 for (j = 0; j < ARRAY_SIZE(tests); ++j) { in test_gt()
169 int32_t a = (int32_t) tests[i]; in test_gt()
170 int32_t b = (int32_t) tests[j]; in test_gt()