Lines Matching refs:range1
125 order_perf_type range1[5]; in test_set_difference_normal() local
126 range1[0].key = 0u; in test_set_difference_normal()
127 range1[0].val = 1u; in test_set_difference_normal()
128 range1[1].key = 1u; in test_set_difference_normal()
129 range1[1].val = 1u; in test_set_difference_normal()
130 range1[2].key = 1u; in test_set_difference_normal()
131 range1[2].val = 2u; in test_set_difference_normal()
132 range1[3].key = 3u; in test_set_difference_normal()
133 range1[3].val = 1u; in test_set_difference_normal()
134 range1[4].key = 4u; in test_set_difference_normal()
135 range1[4].val = 1u; in test_set_difference_normal()
141 boost::movelib::set_difference(range1, range1+5, range2, range2+10, out, order_type_less()); in test_set_difference_normal()
161 order_perf_type range1[5]; in test_set_difference_range1_repeated() local
162 range1[0].key = 0u; in test_set_difference_range1_repeated()
163 range1[0].val = 1u; in test_set_difference_range1_repeated()
164 range1[1].key = 2u; in test_set_difference_range1_repeated()
165 range1[1].val = 1u; in test_set_difference_range1_repeated()
166 range1[2].key = 2u; in test_set_difference_range1_repeated()
167 range1[2].val = 2u; in test_set_difference_range1_repeated()
168 range1[3].key = 4u; in test_set_difference_range1_repeated()
169 range1[3].val = 1u; in test_set_difference_range1_repeated()
170 range1[4].key = 6u; in test_set_difference_range1_repeated()
171 range1[4].val = 1u; in test_set_difference_range1_repeated()
177 boost::movelib::set_difference(range1, range1+5, range2, range2+10, out, order_type_less()); in test_set_difference_range1_repeated()
191 order_perf_type range1[5]; in test_set_difference_range1_unique() local
192 range1[0].key = 1u; in test_set_difference_range1_unique()
193 range1[0].val = 1u; in test_set_difference_range1_unique()
194 range1[1].key = 3u; in test_set_difference_range1_unique()
195 range1[1].val = 1u; in test_set_difference_range1_unique()
196 range1[2].key = 5u; in test_set_difference_range1_unique()
197 range1[2].val = 1u; in test_set_difference_range1_unique()
198 range1[3].key = 7u; in test_set_difference_range1_unique()
199 range1[3].val = 1u; in test_set_difference_range1_unique()
200 range1[4].key = 7u; in test_set_difference_range1_unique()
201 range1[4].val = 2u; in test_set_difference_range1_unique()
207 boost::movelib::set_difference(range1, range1+5, range2, range2+10, out, order_type_less()); in test_set_difference_range1_unique()
421 order_move_type range1[4]; in test_inplace_set_difference_normal() local
422 range1[0].key = 0u; in test_inplace_set_difference_normal()
423 range1[0].val = 1u; in test_inplace_set_difference_normal()
424 range1[1].key = 1u; in test_inplace_set_difference_normal()
425 range1[1].val = 1u; in test_inplace_set_difference_normal()
426 range1[2].key = 3u; in test_inplace_set_difference_normal()
427 range1[2].val = 1u; in test_inplace_set_difference_normal()
428 range1[3].key = 4u; in test_inplace_set_difference_normal()
429 range1[3].val = 1u; in test_inplace_set_difference_normal()
431 …order_move_type *ret = boost::movelib::inplace_set_difference(range1, range1+4, range2, range2+10,… in test_inplace_set_difference_normal()
432 BOOST_TEST(ret == range1+2); in test_inplace_set_difference_normal()
433 BOOST_TEST(range1[0].key == 1u); in test_inplace_set_difference_normal()
434 BOOST_TEST(range1[0].val == 1u); in test_inplace_set_difference_normal()
435 BOOST_TEST(range1[1].key == 3u); in test_inplace_set_difference_normal()
436 BOOST_TEST(range1[1].val == 1u); in test_inplace_set_difference_normal()
437 BOOST_TEST(range1[2].key == order_move_type::moved_assign_mark); in test_inplace_set_difference_normal()
438 BOOST_TEST(range1[2].val == order_move_type::moved_assign_mark); in test_inplace_set_difference_normal()
449 order_move_type range1[5]; in test_inplace_set_difference_range1_repeated() local
450 range1[0].key = 0u; in test_inplace_set_difference_range1_repeated()
451 range1[0].val = 1u; in test_inplace_set_difference_range1_repeated()
452 range1[1].key = 2u; in test_inplace_set_difference_range1_repeated()
453 range1[1].val = 1u; in test_inplace_set_difference_range1_repeated()
454 range1[2].key = 4u; in test_inplace_set_difference_range1_repeated()
455 range1[2].val = 1u; in test_inplace_set_difference_range1_repeated()
456 range1[3].key = 6u; in test_inplace_set_difference_range1_repeated()
457 range1[3].val = 1u; in test_inplace_set_difference_range1_repeated()
458 range1[4].key = order_move_type::moved_assign_mark; in test_inplace_set_difference_range1_repeated()
459 range1[4].val = order_move_type::moved_assign_mark; in test_inplace_set_difference_range1_repeated()
461 …order_move_type *ret = boost::movelib::inplace_set_difference(range1, range1+4, range2, range2+10,… in test_inplace_set_difference_range1_repeated()
462 BOOST_TEST(ret == range1+0); in test_inplace_set_difference_range1_repeated()
463 BOOST_TEST(range1[0].key == 0u); in test_inplace_set_difference_range1_repeated()
464 BOOST_TEST(range1[0].val == 1u); in test_inplace_set_difference_range1_repeated()
465 BOOST_TEST(range1[1].key == 2u); in test_inplace_set_difference_range1_repeated()
466 BOOST_TEST(range1[1].val == 1u); in test_inplace_set_difference_range1_repeated()
467 BOOST_TEST(range1[2].key == 4u); in test_inplace_set_difference_range1_repeated()
468 BOOST_TEST(range1[3].val == 1u); in test_inplace_set_difference_range1_repeated()
469 BOOST_TEST(range1[3].key == 6u); in test_inplace_set_difference_range1_repeated()
470 BOOST_TEST(range1[3].val == 1u); in test_inplace_set_difference_range1_repeated()
471 BOOST_TEST(range1[4].key == order_move_type::moved_assign_mark); in test_inplace_set_difference_range1_repeated()
472 BOOST_TEST(range1[4].val == order_move_type::moved_assign_mark); in test_inplace_set_difference_range1_repeated()
483 order_move_type range1[5]; in test_inplace_set_difference_range1_unique() local
484 range1[0].key = 1u; in test_inplace_set_difference_range1_unique()
485 range1[0].val = 1u; in test_inplace_set_difference_range1_unique()
486 range1[1].key = 3u; in test_inplace_set_difference_range1_unique()
487 range1[1].val = 1u; in test_inplace_set_difference_range1_unique()
488 range1[2].key = 5u; in test_inplace_set_difference_range1_unique()
489 range1[2].val = 1u; in test_inplace_set_difference_range1_unique()
490 range1[3].key = 7u; in test_inplace_set_difference_range1_unique()
491 range1[3].val = 1u; in test_inplace_set_difference_range1_unique()
492 range1[4].key = order_move_type::moved_assign_mark; in test_inplace_set_difference_range1_unique()
493 range1[4].val = order_move_type::moved_assign_mark; in test_inplace_set_difference_range1_unique()
495 …order_move_type *ret = boost::movelib::inplace_set_difference(range1, range1+4, range2, range2+10,… in test_inplace_set_difference_range1_unique()
496 BOOST_TEST(ret == range1+4); in test_inplace_set_difference_range1_unique()
497 BOOST_TEST(range1[0].key == 1u); in test_inplace_set_difference_range1_unique()
498 BOOST_TEST(range1[0].val == 1u); in test_inplace_set_difference_range1_unique()
499 BOOST_TEST(range1[1].key == 3u); in test_inplace_set_difference_range1_unique()
500 BOOST_TEST(range1[1].val == 1u); in test_inplace_set_difference_range1_unique()
501 BOOST_TEST(range1[2].key == 5u); in test_inplace_set_difference_range1_unique()
502 BOOST_TEST(range1[3].val == 1u); in test_inplace_set_difference_range1_unique()
503 BOOST_TEST(range1[3].key == 7u); in test_inplace_set_difference_range1_unique()
504 BOOST_TEST(range1[3].val == 1u); in test_inplace_set_difference_range1_unique()
505 BOOST_TEST(range1[4].key == order_move_type::moved_assign_mark); in test_inplace_set_difference_range1_unique()
506 BOOST_TEST(range1[4].val == order_move_type::moved_assign_mark); in test_inplace_set_difference_range1_unique()
517 order_move_type range1[11]; in test_inplace_set_difference_range1_unique_long() local
518 for(std::size_t i = 0; i != sizeof(range1)/sizeof(*range1); ++i){ in test_inplace_set_difference_range1_unique_long()
519 range1[i].key = i*2+1; in test_inplace_set_difference_range1_unique_long()
520 range1[i].val = 1u; in test_inplace_set_difference_range1_unique_long()
523 …order_move_type *ret = boost::movelib::inplace_set_difference(range1, range1+11, range2, range2+10… in test_inplace_set_difference_range1_unique_long()
524 BOOST_TEST(ret == range1+11); in test_inplace_set_difference_range1_unique_long()
525 for(std::size_t i = 0; i != sizeof(range1)/sizeof(*range1); ++i){ in test_inplace_set_difference_range1_unique_long()
526 BOOST_TEST(range1[i].key == i*2+1); in test_inplace_set_difference_range1_unique_long()
527 BOOST_TEST(range1[i].val == 1u); in test_inplace_set_difference_range1_unique_long()
539 order_move_type range1[5]; in test_inplace_set_difference_range1_same_start() local
540 range1[0].key = 0u; in test_inplace_set_difference_range1_same_start()
541 range1[0].val = 1u; in test_inplace_set_difference_range1_same_start()
542 range1[1].key = 2u; in test_inplace_set_difference_range1_same_start()
543 range1[1].val = 1u; in test_inplace_set_difference_range1_same_start()
544 range1[2].key = 4u; in test_inplace_set_difference_range1_same_start()
545 range1[2].val = 1u; in test_inplace_set_difference_range1_same_start()
546 range1[3].key = 5u; in test_inplace_set_difference_range1_same_start()
547 range1[3].val = 1u; in test_inplace_set_difference_range1_same_start()
548 range1[4].key = 7u; in test_inplace_set_difference_range1_same_start()
549 range1[4].val = 1u; in test_inplace_set_difference_range1_same_start()
551 …order_move_type *ret = boost::movelib::inplace_set_difference(range1, range1+5, range2, range2+10,… in test_inplace_set_difference_range1_same_start()
552 BOOST_TEST(ret == range1+2); in test_inplace_set_difference_range1_same_start()
553 BOOST_TEST(range1[0].key == 5u); in test_inplace_set_difference_range1_same_start()
554 BOOST_TEST(range1[0].val == 1u); in test_inplace_set_difference_range1_same_start()
555 BOOST_TEST(range1[1].key == 7u); in test_inplace_set_difference_range1_same_start()
556 BOOST_TEST(range1[1].val == 1u); in test_inplace_set_difference_range1_same_start()
567 order_move_type range1[5]; in test_inplace_set_difference_range1_same_end() local
568 range1[0].key = 1u; in test_inplace_set_difference_range1_same_end()
569 range1[0].val = 1u; in test_inplace_set_difference_range1_same_end()
570 range1[1].key = 3u; in test_inplace_set_difference_range1_same_end()
571 range1[1].val = 1u; in test_inplace_set_difference_range1_same_end()
572 range1[2].key = 4u; in test_inplace_set_difference_range1_same_end()
573 range1[2].val = 1u; in test_inplace_set_difference_range1_same_end()
574 range1[3].key = 6u; in test_inplace_set_difference_range1_same_end()
575 range1[3].val = 1u; in test_inplace_set_difference_range1_same_end()
576 range1[4].key = 8u; in test_inplace_set_difference_range1_same_end()
577 range1[4].val = 1u; in test_inplace_set_difference_range1_same_end()
579 …order_move_type *ret = boost::movelib::inplace_set_difference(range1, range1+5, range2, range2+10,… in test_inplace_set_difference_range1_same_end()
580 BOOST_TEST(ret == range1+2); in test_inplace_set_difference_range1_same_end()
581 BOOST_TEST(range1[0].key == 1u); in test_inplace_set_difference_range1_same_end()
582 BOOST_TEST(range1[0].val == 1u); in test_inplace_set_difference_range1_same_end()
583 BOOST_TEST(range1[1].key == 3u); in test_inplace_set_difference_range1_same_end()
584 BOOST_TEST(range1[1].val == 1u); in test_inplace_set_difference_range1_same_end()
585 BOOST_TEST(range1[2].key == 4u); in test_inplace_set_difference_range1_same_end()
586 BOOST_TEST(range1[2].val == 1u); in test_inplace_set_difference_range1_same_end()
587 BOOST_TEST(range1[3].key == 6u); in test_inplace_set_difference_range1_same_end()
588 BOOST_TEST(range1[3].val == 1u); in test_inplace_set_difference_range1_same_end()
605 order_perf_type range1[10]; in test_set_unique_difference_normal() local
606 range1[0].key = 0u; in test_set_unique_difference_normal()
607 range1[0].val = 1u; in test_set_unique_difference_normal()
608 range1[1].key = 1u; in test_set_unique_difference_normal()
609 range1[1].val = 1u; in test_set_unique_difference_normal()
610 range1[2].key = 1u; in test_set_unique_difference_normal()
611 range1[2].val = 2u; in test_set_unique_difference_normal()
612 range1[3].key = 3u; in test_set_unique_difference_normal()
613 range1[3].val = 1u; in test_set_unique_difference_normal()
614 range1[4].key = 4u; in test_set_unique_difference_normal()
615 range1[4].val = 1u; in test_set_unique_difference_normal()
616 range1[5].key = 4u; in test_set_unique_difference_normal()
617 range1[5].val = 2u; in test_set_unique_difference_normal()
618 range1[6].key = 21u; in test_set_unique_difference_normal()
619 range1[6].val = 1u; in test_set_unique_difference_normal()
620 range1[7].key = 21u; in test_set_unique_difference_normal()
621 range1[7].val = 2u; in test_set_unique_difference_normal()
622 range1[8].key = 23u; in test_set_unique_difference_normal()
623 range1[8].val = 1u; in test_set_unique_difference_normal()
624 range1[9].key = 23u; in test_set_unique_difference_normal()
625 range1[9].val = 2u; in test_set_unique_difference_normal()
631 …boost::movelib::set_unique_difference(range1, range1+10, range2, range2+10, out, order_type_less()… in test_set_unique_difference_normal()
653 order_perf_type range1[11]; in test_set_unique_difference_range1_repeated() local
654 range1[0].key = 0u; in test_set_unique_difference_range1_repeated()
655 range1[0].val = 1u; in test_set_unique_difference_range1_repeated()
656 range1[1].key = 0u; in test_set_unique_difference_range1_repeated()
657 range1[1].val = 2u; in test_set_unique_difference_range1_repeated()
658 range1[2].key = 0u; in test_set_unique_difference_range1_repeated()
659 range1[2].val = 2u; in test_set_unique_difference_range1_repeated()
660 range1[3].key = 2u; in test_set_unique_difference_range1_repeated()
661 range1[3].val = 1u; in test_set_unique_difference_range1_repeated()
662 range1[4].key = 2u; in test_set_unique_difference_range1_repeated()
663 range1[4].val = 2u; in test_set_unique_difference_range1_repeated()
664 range1[5].key = 4u; in test_set_unique_difference_range1_repeated()
665 range1[5].val = 1u; in test_set_unique_difference_range1_repeated()
666 range1[6].key = 6u; in test_set_unique_difference_range1_repeated()
667 range1[6].val = 1u; in test_set_unique_difference_range1_repeated()
668 range1[7].key = 6u; in test_set_unique_difference_range1_repeated()
669 range1[7].val = 2u; in test_set_unique_difference_range1_repeated()
670 range1[8].key = 6u; in test_set_unique_difference_range1_repeated()
671 range1[8].val = 3u; in test_set_unique_difference_range1_repeated()
672 range1[9].key = 6u; in test_set_unique_difference_range1_repeated()
673 range1[9].val = 4u; in test_set_unique_difference_range1_repeated()
674 range1[10].key = 6u; in test_set_unique_difference_range1_repeated()
675 range1[10].val = 5u; in test_set_unique_difference_range1_repeated()
681 …boost::movelib::set_unique_difference(range1, range1+11, range2, range2+10, out, order_type_less()… in test_set_unique_difference_range1_repeated()
695 order_perf_type range1[7]; in test_set_unique_difference_range1_unique() local
696 range1[0].key = 1u; in test_set_unique_difference_range1_unique()
697 range1[0].val = 1u; in test_set_unique_difference_range1_unique()
698 range1[1].key = 3u; in test_set_unique_difference_range1_unique()
699 range1[1].val = 1u; in test_set_unique_difference_range1_unique()
700 range1[2].key = 3u; in test_set_unique_difference_range1_unique()
701 range1[2].val = 2u; in test_set_unique_difference_range1_unique()
702 range1[3].key = 5u; in test_set_unique_difference_range1_unique()
703 range1[3].val = 1u; in test_set_unique_difference_range1_unique()
704 range1[4].key = 7u; in test_set_unique_difference_range1_unique()
705 range1[4].val = 1u; in test_set_unique_difference_range1_unique()
706 range1[5].key = 7u; in test_set_unique_difference_range1_unique()
707 range1[5].val = 2u; in test_set_unique_difference_range1_unique()
708 range1[6].key = 7u; in test_set_unique_difference_range1_unique()
709 range1[6].val = 3u; in test_set_unique_difference_range1_unique()
715 …boost::movelib::set_unique_difference(range1, range1+7, range2, range2+10, out, order_type_less()); in test_set_unique_difference_range1_unique()
742 order_move_type range1[4]; in test_inplace_set_unique_difference_normal() local
743 range1[0].key = 0u; in test_inplace_set_unique_difference_normal()
744 range1[0].val = 1u; in test_inplace_set_unique_difference_normal()
745 range1[1].key = 1u; in test_inplace_set_unique_difference_normal()
746 range1[1].val = 1u; in test_inplace_set_unique_difference_normal()
747 range1[2].key = 3u; in test_inplace_set_unique_difference_normal()
748 range1[2].val = 1u; in test_inplace_set_unique_difference_normal()
749 range1[3].key = 4u; in test_inplace_set_unique_difference_normal()
750 range1[3].val = 1u; in test_inplace_set_unique_difference_normal()
752 …order_move_type *ret = boost::movelib::inplace_set_unique_difference(range1, range1+4, range2, ran… in test_inplace_set_unique_difference_normal()
753 BOOST_TEST(ret == range1+2); in test_inplace_set_unique_difference_normal()
754 BOOST_TEST(range1[0].key == 1u); in test_inplace_set_unique_difference_normal()
755 BOOST_TEST(range1[0].val == 1u); in test_inplace_set_unique_difference_normal()
756 BOOST_TEST(range1[1].key == 3u); in test_inplace_set_unique_difference_normal()
757 BOOST_TEST(range1[1].val == 1u); in test_inplace_set_unique_difference_normal()
758 BOOST_TEST(range1[2].key == order_move_type::moved_assign_mark); in test_inplace_set_unique_difference_normal()
759 BOOST_TEST(range1[2].val == order_move_type::moved_assign_mark); in test_inplace_set_unique_difference_normal()
770 order_move_type range1[5]; in test_inplace_set_unique_difference_range1_repeated() local
771 range1[0].key = 0u; in test_inplace_set_unique_difference_range1_repeated()
772 range1[0].val = 1u; in test_inplace_set_unique_difference_range1_repeated()
773 range1[1].key = 2u; in test_inplace_set_unique_difference_range1_repeated()
774 range1[1].val = 1u; in test_inplace_set_unique_difference_range1_repeated()
775 range1[2].key = 4u; in test_inplace_set_unique_difference_range1_repeated()
776 range1[2].val = 1u; in test_inplace_set_unique_difference_range1_repeated()
777 range1[3].key = 6u; in test_inplace_set_unique_difference_range1_repeated()
778 range1[3].val = 1u; in test_inplace_set_unique_difference_range1_repeated()
779 range1[4].key = order_move_type::moved_assign_mark; in test_inplace_set_unique_difference_range1_repeated()
780 range1[4].val = order_move_type::moved_assign_mark; in test_inplace_set_unique_difference_range1_repeated()
782 …order_move_type *ret = boost::movelib::inplace_set_unique_difference(range1, range1+4, range2, ran… in test_inplace_set_unique_difference_range1_repeated()
783 BOOST_TEST(ret == range1+0); in test_inplace_set_unique_difference_range1_repeated()
784 BOOST_TEST(range1[0].key == 0u); in test_inplace_set_unique_difference_range1_repeated()
785 BOOST_TEST(range1[0].val == 1u); in test_inplace_set_unique_difference_range1_repeated()
786 BOOST_TEST(range1[1].key == 2u); in test_inplace_set_unique_difference_range1_repeated()
787 BOOST_TEST(range1[1].val == 1u); in test_inplace_set_unique_difference_range1_repeated()
788 BOOST_TEST(range1[2].key == 4u); in test_inplace_set_unique_difference_range1_repeated()
789 BOOST_TEST(range1[3].val == 1u); in test_inplace_set_unique_difference_range1_repeated()
790 BOOST_TEST(range1[3].key == 6u); in test_inplace_set_unique_difference_range1_repeated()
791 BOOST_TEST(range1[3].val == 1u); in test_inplace_set_unique_difference_range1_repeated()
792 BOOST_TEST(range1[4].key == order_move_type::moved_assign_mark); in test_inplace_set_unique_difference_range1_repeated()
793 BOOST_TEST(range1[4].val == order_move_type::moved_assign_mark); in test_inplace_set_unique_difference_range1_repeated()
804 order_move_type range1[9]; in test_inplace_set_unique_difference_range1_unique() local
805 range1[0].key = 1u; in test_inplace_set_unique_difference_range1_unique()
806 range1[0].val = 1u; in test_inplace_set_unique_difference_range1_unique()
807 range1[1].key = 1u; in test_inplace_set_unique_difference_range1_unique()
808 range1[1].val = 2u; in test_inplace_set_unique_difference_range1_unique()
809 range1[2].key = 3u; in test_inplace_set_unique_difference_range1_unique()
810 range1[2].val = 1u; in test_inplace_set_unique_difference_range1_unique()
811 range1[3].key = 3u; in test_inplace_set_unique_difference_range1_unique()
812 range1[3].val = 2u; in test_inplace_set_unique_difference_range1_unique()
813 range1[4].key = 5u; in test_inplace_set_unique_difference_range1_unique()
814 range1[4].val = 1u; in test_inplace_set_unique_difference_range1_unique()
815 range1[5].key = 7u; in test_inplace_set_unique_difference_range1_unique()
816 range1[5].val = 1u; in test_inplace_set_unique_difference_range1_unique()
817 range1[6].key = 7u; in test_inplace_set_unique_difference_range1_unique()
818 range1[6].val = 2u; in test_inplace_set_unique_difference_range1_unique()
819 range1[7].key = 7u; in test_inplace_set_unique_difference_range1_unique()
820 range1[7].val = 3u; in test_inplace_set_unique_difference_range1_unique()
821 range1[8].val = 3u; in test_inplace_set_unique_difference_range1_unique()
822 range1[8].key = order_move_type::moved_assign_mark; in test_inplace_set_unique_difference_range1_unique()
823 range1[8].val = order_move_type::moved_assign_mark; in test_inplace_set_unique_difference_range1_unique()
826 …boost::movelib::inplace_set_unique_difference(range1, range1+8, range2, range2+10, order_type_less… in test_inplace_set_unique_difference_range1_unique()
827 BOOST_TEST(ret == range1+4); in test_inplace_set_unique_difference_range1_unique()
828 BOOST_TEST(range1[0].key == 1u); in test_inplace_set_unique_difference_range1_unique()
829 BOOST_TEST(range1[0].val == 1u); in test_inplace_set_unique_difference_range1_unique()
830 BOOST_TEST(range1[1].key == 3u); in test_inplace_set_unique_difference_range1_unique()
831 BOOST_TEST(range1[1].val == 1u); in test_inplace_set_unique_difference_range1_unique()
832 BOOST_TEST(range1[2].key == 5u); in test_inplace_set_unique_difference_range1_unique()
833 BOOST_TEST(range1[3].val == 1u); in test_inplace_set_unique_difference_range1_unique()
834 BOOST_TEST(range1[3].key == 7u); in test_inplace_set_unique_difference_range1_unique()
835 BOOST_TEST(range1[3].val == 1u); in test_inplace_set_unique_difference_range1_unique()
846 order_move_type range1[22]; in test_inplace_set_unique_difference_range1_unique_long() local
847 for(std::size_t i = 0; i != sizeof(range1)/sizeof(*range1); ++i){ in test_inplace_set_unique_difference_range1_unique_long()
848 range1[i].key = (i/2)*2+1; in test_inplace_set_unique_difference_range1_unique_long()
849 range1[i].val = i%2; in test_inplace_set_unique_difference_range1_unique_long()
853 …boost::movelib::inplace_set_unique_difference(range1, range1+22, range2, range2+10, order_type_les… in test_inplace_set_unique_difference_range1_unique_long()
854 BOOST_TEST(ret == range1+11); in test_inplace_set_unique_difference_range1_unique_long()
856 BOOST_TEST(range1[i].key == i*2+1); in test_inplace_set_unique_difference_range1_unique_long()
857 BOOST_TEST(range1[i].val == 0u); in test_inplace_set_unique_difference_range1_unique_long()
869 order_move_type range1[6]; in test_inplace_set_unique_difference_range1_same_start() local
870 range1[0].key = 0u; in test_inplace_set_unique_difference_range1_same_start()
871 range1[0].val = 1u; in test_inplace_set_unique_difference_range1_same_start()
872 range1[1].key = 2u; in test_inplace_set_unique_difference_range1_same_start()
873 range1[1].val = 1u; in test_inplace_set_unique_difference_range1_same_start()
874 range1[2].key = 4u; in test_inplace_set_unique_difference_range1_same_start()
875 range1[2].val = 1u; in test_inplace_set_unique_difference_range1_same_start()
876 range1[3].key = 4u; in test_inplace_set_unique_difference_range1_same_start()
877 range1[3].val = 2u; in test_inplace_set_unique_difference_range1_same_start()
878 range1[4].key = 5u; in test_inplace_set_unique_difference_range1_same_start()
879 range1[4].val = 1u; in test_inplace_set_unique_difference_range1_same_start()
880 range1[5].key = 7u; in test_inplace_set_unique_difference_range1_same_start()
881 range1[5].val = 1u; in test_inplace_set_unique_difference_range1_same_start()
884 …boost::movelib::inplace_set_unique_difference(range1, range1+6, range2, range2+10, order_type_less… in test_inplace_set_unique_difference_range1_same_start()
885 BOOST_TEST(ret == range1+2); in test_inplace_set_unique_difference_range1_same_start()
886 BOOST_TEST(range1[0].key == 5u); in test_inplace_set_unique_difference_range1_same_start()
887 BOOST_TEST(range1[0].val == 1u); in test_inplace_set_unique_difference_range1_same_start()
888 BOOST_TEST(range1[1].key == 7u); in test_inplace_set_unique_difference_range1_same_start()
889 BOOST_TEST(range1[1].val == 1u); in test_inplace_set_unique_difference_range1_same_start()
900 order_move_type range1[8]; in test_inplace_set_unique_difference_range1_same_end() local
901 range1[0].key = 1u; in test_inplace_set_unique_difference_range1_same_end()
902 range1[0].val = 1u; in test_inplace_set_unique_difference_range1_same_end()
903 range1[1].key = 3u; in test_inplace_set_unique_difference_range1_same_end()
904 range1[1].val = 1u; in test_inplace_set_unique_difference_range1_same_end()
905 range1[2].key = 4u; in test_inplace_set_unique_difference_range1_same_end()
906 range1[2].val = 1u; in test_inplace_set_unique_difference_range1_same_end()
907 range1[3].key = 4u; in test_inplace_set_unique_difference_range1_same_end()
908 range1[3].val = 2u; in test_inplace_set_unique_difference_range1_same_end()
909 range1[4].key = 6u; in test_inplace_set_unique_difference_range1_same_end()
910 range1[4].val = 1u; in test_inplace_set_unique_difference_range1_same_end()
911 range1[5].key = 8u; in test_inplace_set_unique_difference_range1_same_end()
912 range1[5].val = 1u; in test_inplace_set_unique_difference_range1_same_end()
913 range1[6].key = 8u; in test_inplace_set_unique_difference_range1_same_end()
914 range1[6].val = 2u; in test_inplace_set_unique_difference_range1_same_end()
915 range1[7].key = 8u; in test_inplace_set_unique_difference_range1_same_end()
916 range1[7].val = 3u; in test_inplace_set_unique_difference_range1_same_end()
919 …boost::movelib::inplace_set_unique_difference(range1, range1+8, range2, range2+10, order_type_less… in test_inplace_set_unique_difference_range1_same_end()
920 BOOST_TEST(ret == range1+2); in test_inplace_set_unique_difference_range1_same_end()
921 BOOST_TEST(range1[0].key == 1u); in test_inplace_set_unique_difference_range1_same_end()
922 BOOST_TEST(range1[0].val == 1u); in test_inplace_set_unique_difference_range1_same_end()
923 BOOST_TEST(range1[1].key == 3u); in test_inplace_set_unique_difference_range1_same_end()
924 BOOST_TEST(range1[1].val == 1u); in test_inplace_set_unique_difference_range1_same_end()