Lines Matching full:test
5 struct test { struct
14 * Each test sets the MEM_IDXth element of the mem array to MEM and uses a argument
59 /* Test functions. */
108 /* Test definitions. */
124 static const struct test tests[] = {
132 const struct test *test; in main() local
138 test = &tests[i]; in main()
141 reg = test->func(REG, &cc); in main()
145 test->name, expected, actual); \ in main()
149 ASSERT_EQ(test->exp_reg, reg); in main()
150 ASSERT_EQ(test->exp_mem, mem[MEM_IDX]); in main()
151 ASSERT_EQ(test->exp_cc, cc); in main()