Lines Matching refs:resolver
188 TypeParam resolver(&allocator); in TYPED_TEST() local
190 resolver.EmitNativeCode(BuildParallelMove(&allocator, moves, arraysize(moves))); in TYPED_TEST()
192 ASSERT_STREQ("(1 -> 2) (0 -> 1)", resolver.GetMessage().c_str()); in TYPED_TEST()
194 ASSERT_STREQ("(1 -> 2) (0 -> 1)", resolver.GetMessage().c_str()); in TYPED_TEST()
199 TypeParam resolver(&allocator); in TYPED_TEST() local
201 resolver.EmitNativeCode(BuildParallelMove(&allocator, moves, arraysize(moves))); in TYPED_TEST()
203 ASSERT_STREQ("(2 -> 3) (1 -> 2) (1 -> 4) (0 -> 1)", resolver.GetMessage().c_str()); in TYPED_TEST()
205 ASSERT_STREQ("(2 -> 3) (1 -> 2) (0 -> 1) (2 -> 4)", resolver.GetMessage().c_str()); in TYPED_TEST()
215 TypeParam resolver(&allocator); in TYPED_TEST() local
217 resolver.EmitNativeCode(BuildParallelMove(&allocator, moves, arraysize(moves))); in TYPED_TEST()
219 ASSERT_STREQ("(1 <-> 0)", resolver.GetMessage().c_str()); in TYPED_TEST()
221 ASSERT_STREQ("(1 -> T0) (0 -> 1) (T0 -> 0)", resolver.GetMessage().c_str()); in TYPED_TEST()
226 TypeParam resolver(&allocator); in TYPED_TEST() local
228 resolver.EmitNativeCode(BuildParallelMove(&allocator, moves, arraysize(moves))); in TYPED_TEST()
230 ASSERT_STREQ("(1 -> 2) (1 <-> 0)", resolver.GetMessage().c_str()); in TYPED_TEST()
232 ASSERT_STREQ("(1 -> 2) (0 -> 1) (2 -> 0)", resolver.GetMessage().c_str()); in TYPED_TEST()
237 TypeParam resolver(&allocator); in TYPED_TEST() local
239 resolver.EmitNativeCode(BuildParallelMove(&allocator, moves, arraysize(moves))); in TYPED_TEST()
241 ASSERT_STREQ("(0 -> 2) (1 <-> 0)", resolver.GetMessage().c_str()); in TYPED_TEST()
243 ASSERT_STREQ("(0 -> 2) (1 -> 0) (2 -> 1)", resolver.GetMessage().c_str()); in TYPED_TEST()
248 TypeParam resolver(&allocator); in TYPED_TEST() local
250 resolver.EmitNativeCode(BuildParallelMove(&allocator, moves, arraysize(moves))); in TYPED_TEST()
252 ASSERT_STREQ("(4 <-> 0) (3 <-> 4) (2 <-> 3) (1 <-> 2)", resolver.GetMessage().c_str()); in TYPED_TEST()
255 resolver.GetMessage().c_str()); in TYPED_TEST()
263 TypeParam resolver(&allocator); in TYPED_TEST() local
275 resolver.EmitNativeCode(moves); in TYPED_TEST()
276 ASSERT_STREQ("(1 -> 2) (C -> 0)", resolver.GetMessage().c_str()); in TYPED_TEST()
284 TypeParam resolver(&allocator); in TYPED_TEST() local
296 resolver.EmitNativeCode(moves); in TYPED_TEST()
297 ASSERT_STREQ("(2 -> 4) (0,1 -> 2,3)", resolver.GetMessage().c_str()); in TYPED_TEST()
301 TypeParam resolver(&allocator); in TYPED_TEST() local
313 resolver.EmitNativeCode(moves); in TYPED_TEST()
314 ASSERT_STREQ("(2 -> 4) (0,1 -> 2,3)", resolver.GetMessage().c_str()); in TYPED_TEST()
318 TypeParam resolver(&allocator); in TYPED_TEST() local
330 resolver.EmitNativeCode(moves); in TYPED_TEST()
332 ASSERT_STREQ("(0,1 <-> 2,3)", resolver.GetMessage().c_str()); in TYPED_TEST()
334 ASSERT_STREQ("(2 -> T0) (0,1 -> 2,3) (T0 -> 0)", resolver.GetMessage().c_str()); in TYPED_TEST()
338 TypeParam resolver(&allocator); in TYPED_TEST() local
355 resolver.EmitNativeCode(moves); in TYPED_TEST()
357 ASSERT_STREQ("(0,1 <-> 2,3) (7 -> 1) (0 -> 7)", resolver.GetMessage().c_str()); in TYPED_TEST()
360 resolver.GetMessage().c_str()); in TYPED_TEST()
364 TypeParam resolver(&allocator); in TYPED_TEST() local
381 resolver.EmitNativeCode(moves); in TYPED_TEST()
383 ASSERT_STREQ("(0,1 <-> 2,3) (7 -> 1) (0 -> 7)", resolver.GetMessage().c_str()); in TYPED_TEST()
386 resolver.GetMessage().c_str()); in TYPED_TEST()
390 TypeParam resolver(&allocator); in TYPED_TEST() local
407 resolver.EmitNativeCode(moves); in TYPED_TEST()
409 ASSERT_STREQ("(0,1 <-> 2,3) (7 -> 1) (0 -> 7)", resolver.GetMessage().c_str()); in TYPED_TEST()
411 ASSERT_STREQ("(7 -> T0) (2 -> 7) (0,1 -> 2,3) (T0 -> 1)", resolver.GetMessage().c_str()); in TYPED_TEST()
415 TypeParam resolver(&allocator); in TYPED_TEST() local
427 resolver.EmitNativeCode(moves); in TYPED_TEST()
429 ASSERT_STREQ("(2,3 <-> 0,1)", resolver.GetMessage().c_str()); in TYPED_TEST()
431 ASSERT_STREQ("(2,3 -> T0,T1) (0,1 -> 2,3) (T0,T1 -> 0,1)", resolver.GetMessage().c_str()); in TYPED_TEST()
435 TypeParam resolver(&allocator); in TYPED_TEST() local
447 resolver.EmitNativeCode(moves); in TYPED_TEST()
449 ASSERT_STREQ("(0,1 <-> 2,3)", resolver.GetMessage().c_str()); in TYPED_TEST()
451 ASSERT_STREQ("(0,1 -> T0,T1) (2,3 -> 0,1) (T0,T1 -> 2,3)", resolver.GetMessage().c_str()); in TYPED_TEST()
461 TypeParam resolver(&allocator); in TYPED_TEST() local
463 resolver.EmitNativeCode(BuildParallelMove(&allocator, moves, arraysize(moves))); in TYPED_TEST()
465 ASSERT_STREQ("(1 <-> 0) (3 <-> 2)", resolver.GetMessage().c_str()); in TYPED_TEST()
468 resolver.GetMessage().c_str()); in TYPED_TEST()
472 TypeParam resolver(&allocator); in TYPED_TEST() local
489 resolver.EmitNativeCode(moves); in TYPED_TEST()
491 ASSERT_STREQ("(0,1 <-> 2,3)", resolver.GetMessage().c_str()); in TYPED_TEST()
494 resolver.GetMessage().c_str()); in TYPED_TEST()
498 TypeParam resolver(&allocator); in TYPED_TEST() local
515 resolver.EmitNativeCode(moves); in TYPED_TEST()
517 ASSERT_STREQ("(0,1 <-> 2,3)", resolver.GetMessage().c_str()); in TYPED_TEST()
520 resolver.GetMessage().c_str()); in TYPED_TEST()
526 TypeParam resolver(&allocator); in TYPED_TEST() local
543 resolver.EmitNativeCode(moves); in TYPED_TEST()
545 … ASSERT_STREQ("(2x32(sp) <-> 10,11) (4,5 <-> 2x32(sp)) (4 -> 5)", resolver.GetMessage().c_str()); in TYPED_TEST()
548 resolver.GetMessage().c_str()); in TYPED_TEST()
559 TypeParam resolver(&allocator); in TYPED_TEST() local
576 resolver.EmitNativeCode(moves); in TYPED_TEST()
578 ASSERT_STREQ("(0 <-> 1) (48(sp) <-> 0)", resolver.GetMessage().c_str()); in TYPED_TEST()
581 resolver.GetMessage().c_str()); in TYPED_TEST()
586 TypeParam resolver(&allocator); in TYPED_TEST() local
603 resolver.EmitNativeCode(moves); in TYPED_TEST()
605 ASSERT_STREQ("(2x32(sp) <-> 0,1) (2,3 <-> 2x32(sp))", resolver.GetMessage().c_str()); in TYPED_TEST()
608 resolver.GetMessage().c_str()); in TYPED_TEST()
618 TypeParam resolver(&allocator); in TYPED_TEST() local
635 resolver.EmitNativeCode(moves); in TYPED_TEST()
637 ASSERT_STREQ("(2,3 <-> 0,1) (2 -> 3) (7 -> 2)", resolver.GetMessage().c_str()); in TYPED_TEST()
640 resolver.GetMessage().c_str()); in TYPED_TEST()