Lines Matching refs:Segments
354 std::vector<CoverageSegment> Segments(Data.begin(), Data.end()); in TEST_P() local
355 ASSERT_EQ(2U, Segments.size()); in TEST_P()
357 EXPECT_EQ(CoverageSegment(1, 1, 10, true), Segments[0]); in TEST_P()
358 EXPECT_EQ(CoverageSegment(5, 5, false), Segments[1]); in TEST_P()
361 EXPECT_EQ(CoverageSegment(2, 2, 20, true), Segments[0]); in TEST_P()
362 EXPECT_EQ(CoverageSegment(6, 6, false), Segments[1]); in TEST_P()
381 std::vector<CoverageSegment> Segments(Data.begin(), Data.end()); in TEST_P() local
383 ASSERT_EQ(2U, Segments.size()); in TEST_P()
384 EXPECT_EQ(CoverageSegment(1, 1, 6, true), Segments[0]); in TEST_P()
385 EXPECT_EQ(CoverageSegment(2, 2, false), Segments[1]); in TEST_P()
399 std::vector<CoverageSegment> Segments(Data.begin(), Data.end()); in TEST_P() local
401 ASSERT_EQ(3U, Segments.size()); in TEST_P()
402 EXPECT_EQ(CoverageSegment(1, 1, 1, true), Segments[0]); in TEST_P()
403 EXPECT_EQ(CoverageSegment(5, 1, true), Segments[1]); in TEST_P()
404 EXPECT_EQ(CoverageSegment(5, 5, false), Segments[2]); in TEST_P()
431 std::vector<CoverageSegment> Segments(Data.begin(), Data.end()); in TEST_P() local
457 ASSERT_EQ(8U, Segments.size()); in TEST_P()
458 EXPECT_EQ(CoverageSegment(1, 1, 1, true), Segments[0]); in TEST_P()
459 EXPECT_EQ(CoverageSegment(3, 5, 1, true), Segments[1]); in TEST_P()
460 EXPECT_EQ(CoverageSegment(5, 4, 0, false), Segments[2]); in TEST_P()
461 EXPECT_EQ(CoverageSegment(7, 3, 0, true), Segments[3]); in TEST_P()
462 EXPECT_EQ(CoverageSegment(7, 7, 0, true), Segments[4]); in TEST_P()
463 EXPECT_EQ(CoverageSegment(9, 2, 0, false), Segments[5]); in TEST_P()
464 EXPECT_EQ(CoverageSegment(9, 7, 1, false), Segments[6]); in TEST_P()
465 EXPECT_EQ(CoverageSegment(9, 9, false), Segments[7]); in TEST_P()
483 std::vector<CoverageSegment> Segments(Data.begin(), Data.end()); in TEST_P() local
485 ASSERT_EQ(7U, Segments.size()); in TEST_P()
486 EXPECT_EQ(CoverageSegment(2, 1, 1, true), Segments[0]); in TEST_P()
487 EXPECT_EQ(CoverageSegment(8, 10, 0, true), Segments[1]); in TEST_P()
488 EXPECT_EQ(CoverageSegment(8, 12, 0, true), Segments[2]); in TEST_P()
489 EXPECT_EQ(CoverageSegment(9, 1, 1, true), Segments[3]); in TEST_P()
490 EXPECT_EQ(CoverageSegment(11, 13, 2, true), Segments[4]); in TEST_P()
492 EXPECT_EQ(CoverageSegment(11, 14, 1, false), Segments[5]); in TEST_P()
493 EXPECT_EQ(CoverageSegment(18, 2, false), Segments[6]); in TEST_P()
508 std::vector<CoverageSegment> Segments(Data.begin(), Data.end()); in TEST_P() local
510 ASSERT_EQ(5U, Segments.size()); in TEST_P()
511 EXPECT_EQ(CoverageSegment(1, 1, 1, true), Segments[0]); in TEST_P()
512 EXPECT_EQ(CoverageSegment(2, 2, 1, true), Segments[1]); in TEST_P()
513 EXPECT_EQ(CoverageSegment(3, 3, 1, true), Segments[2]); in TEST_P()
514 EXPECT_EQ(CoverageSegment(4, 4, 1, false), Segments[3]); in TEST_P()
517 EXPECT_EQ(CoverageSegment(6, 6, false), Segments[4]); in TEST_P()
533 std::vector<CoverageSegment> Segments(Data.begin(), Data.end()); in TEST_P() local
535 ASSERT_EQ(5U, Segments.size()); in TEST_P()
536 EXPECT_EQ(CoverageSegment(1, 1, 1, true), Segments[0]); in TEST_P()
537 EXPECT_EQ(CoverageSegment(2, 2, 1, true), Segments[1]); in TEST_P()
538 EXPECT_EQ(CoverageSegment(3, 3, 1, true), Segments[2]); in TEST_P()
539 EXPECT_EQ(CoverageSegment(6, 5, 1, true), Segments[3]); in TEST_P()
543 EXPECT_EQ(CoverageSegment(7, 7, false), Segments[4]); in TEST_P()
560 std::vector<CoverageSegment> Segments(Data.begin(), Data.end()); in TEST_P() local
562 ASSERT_EQ(1U, Segments.size()); in TEST_P()
563 EXPECT_EQ(CoverageSegment(1, 1, true), Segments[0]); in TEST_P()
583 std::vector<CoverageSegment> Segments(Data.begin(), Data.end()); in TEST_P() local
585 ASSERT_EQ(10U, Segments.size()); in TEST_P()
586 EXPECT_EQ(CoverageSegment(1, 5, 2, true), Segments[0]); in TEST_P()
587 EXPECT_EQ(CoverageSegment(1, 9, 1, true), Segments[1]); in TEST_P()
588 EXPECT_EQ(CoverageSegment(1, 50, 2, false), Segments[2]); in TEST_P()
589 EXPECT_EQ(CoverageSegment(2, 7, 1, true), Segments[3]); in TEST_P()
590 EXPECT_EQ(CoverageSegment(2, 34, 2, false), Segments[4]); in TEST_P()
591 EXPECT_EQ(CoverageSegment(3, 5, 1, true), Segments[5]); in TEST_P()
592 EXPECT_EQ(CoverageSegment(3, 21, 2, true), Segments[6]); in TEST_P()
595 EXPECT_EQ(CoverageSegment(4, 4, false), Segments[7]); in TEST_P()
597 EXPECT_EQ(CoverageSegment(4, 12, 1, true), Segments[8]); in TEST_P()
598 EXPECT_EQ(CoverageSegment(4, 17, false), Segments[9]); in TEST_P()
614 std::vector<CoverageSegment> Segments(Data.begin(), Data.end()); in TEST_P() local
616 ASSERT_EQ(8U, Segments.size()); in TEST_P()
617 EXPECT_EQ(CoverageSegment(1, 1, 1, true), Segments[0]); in TEST_P()
618 EXPECT_EQ(CoverageSegment(2, 2, 2, true), Segments[1]); in TEST_P()
619 EXPECT_EQ(CoverageSegment(3, 3, 3, true), Segments[2]); in TEST_P()
620 EXPECT_EQ(CoverageSegment(4, 4, 2, false), Segments[3]); in TEST_P()
621 EXPECT_EQ(CoverageSegment(5, 5, 1, false), Segments[4]); in TEST_P()
622 EXPECT_EQ(CoverageSegment(6, 6, 4, true), Segments[5]); in TEST_P()
623 EXPECT_EQ(CoverageSegment(7, 7, 1, false), Segments[6]); in TEST_P()
624 EXPECT_EQ(CoverageSegment(8, 8, false), Segments[7]); in TEST_P()
654 std::vector<CoverageSegment> Segments(Data.begin(), Data.end()); in TEST_P() local
655 ASSERT_EQ(7U, Segments.size()); in TEST_P()
656 ASSERT_EQ(CoverageSegment(1, 1, 20, true), Segments[0]); in TEST_P()
657 ASSERT_EQ(CoverageSegment(4, 7, 30, false), Segments[1]); in TEST_P()
658 ASSERT_EQ(CoverageSegment(5, 8, 10, true), Segments[2]); in TEST_P()
659 ASSERT_EQ(CoverageSegment(9, 1, 30, false), Segments[3]); in TEST_P()
660 ASSERT_EQ(CoverageSegment(9, 9, false), Segments[4]); in TEST_P()
661 ASSERT_EQ(CoverageSegment(10, 10, 0, true), Segments[5]); in TEST_P()
662 ASSERT_EQ(CoverageSegment(11, 11, false), Segments[6]); in TEST_P()
694 std::vector<CoverageSegment> Segments(Data.begin(), Data.end()); in TEST_P() local
695 ASSERT_EQ(2U, Segments.size()); in TEST_P()
696 ASSERT_EQ(CoverageSegment(1, 2, 0, true), Segments[0]); in TEST_P()
697 ASSERT_EQ(CoverageSegment(3, 4, false), Segments[1]); in TEST_P()
707 std::vector<CoverageSegment> Segments(Data.begin(), Data.end()); in TEST_P() local
708 ASSERT_EQ(3U, Segments.size()); in TEST_P()
709 ASSERT_EQ(CoverageSegment(1, 1, 0, true), Segments[0]); in TEST_P()
710 ASSERT_EQ(CoverageSegment(4, 7, 0, false), Segments[1]); in TEST_P()
711 ASSERT_EQ(CoverageSegment(9, 9, false), Segments[2]); in TEST_P()
724 std::vector<CoverageSegment> Segments(Data.begin(), Data.end()); in TEST_P() local
725 ASSERT_EQ(4U, Segments.size()); in TEST_P()
726 ASSERT_EQ(CoverageSegment(1, 1, 10, true), Segments[0]); in TEST_P()
727 ASSERT_EQ(CoverageSegment(3, 3, 50, true), Segments[1]); in TEST_P()
728 ASSERT_EQ(CoverageSegment(4, 4, 10, false), Segments[2]); in TEST_P()
729 ASSERT_EQ(CoverageSegment(9, 9, false), Segments[3]); in TEST_P()
742 std::vector<CoverageSegment> Segments(Data.begin(), Data.end()); in TEST_P() local
743 ASSERT_EQ(4U, Segments.size()); in TEST_P()
744 EXPECT_EQ(CoverageSegment(1, 1, 30, true), Segments[0]); in TEST_P()
745 EXPECT_EQ(CoverageSegment(3, 3, 40, true), Segments[1]); in TEST_P()
746 EXPECT_EQ(CoverageSegment(5, 5, 30, false), Segments[2]); in TEST_P()
747 EXPECT_EQ(CoverageSegment(9, 9, false), Segments[3]); in TEST_P()
764 std::vector<CoverageSegment> Segments(Data.begin(), Data.end()); in TEST_P() local
765 ASSERT_EQ(4U, Segments.size()); in TEST_P()
766 ASSERT_EQ(CoverageSegment(1, 1, 10, true), Segments[0]); in TEST_P()
767 ASSERT_EQ(CoverageSegment(3, 3, 20, true), Segments[1]); in TEST_P()
768 ASSERT_EQ(CoverageSegment(4, 4, 10, false), Segments[2]); in TEST_P()
769 ASSERT_EQ(CoverageSegment(9, 9, false), Segments[3]); in TEST_P()
786 std::vector<CoverageSegment> Segments(Data.begin(), Data.end()); in TEST_P() local
787 ASSERT_EQ(4U, Segments.size()); in TEST_P()
788 EXPECT_EQ(CoverageSegment(1, 1, 2, true), Segments[0]); in TEST_P()
789 EXPECT_EQ(CoverageSegment(3, 1, 10, true), Segments[1]); in TEST_P()
790 EXPECT_EQ(CoverageSegment(3, 5, 2, false), Segments[2]); in TEST_P()
791 EXPECT_EQ(CoverageSegment(5, 5, false), Segments[3]); in TEST_P()
852 std::vector<CoverageSegment> Segments(Data.begin(), Data.end()); in TEST_P() local
853 ASSERT_EQ(2U, Segments.size()); in TEST_P()
854 EXPECT_EQ(CoverageSegment(1, 1, 10, true), Segments[0]); in TEST_P()
855 EXPECT_EQ(CoverageSegment(1, 10, false), Segments[1]); in TEST_P()