Co-Simulation/Sumo/sumo-1.7.0/unittest/src/utils/geom/BoundaryTest.cpp
TEST(Boundary, test_method_partialWithin) {
    Boundary bound(1, 2, 3, 6);
    EXPECT_TRUE(bound.partialWithin(Boundary(1, 2, 1, 2)));
    EXPECT_FALSE(bound.partialWithin(Boundary(10, 17, 13, 16)));
    EXPECT_TRUE(bound.partialWithin(Boundary(1, 2, 3, 6)));
    EXPECT_TRUE(bound.partialWithin(Boundary(4, 2, 5, 7), 1));
}
/* Test the method 'partialWithin'*/
Test the method 'partialWithin'
Test the method ' partialWithin '
TEST(Boundary, test_method_partialWithin) {
    Boundary bound(1, 2, 3, 6);
    EXPECT_TRUE(bound.partialWithin(Boundary(1, 2, 1, 2)));
    EXPECT_FALSE(bound.partialWithin(Boundary(10, 17, 13, 16)));
    EXPECT_TRUE(bound.partialWithin(Boundary(1, 2, 3, 6)));
    EXPECT_TRUE(bound.partialWithin(Boundary(4, 2, 5, 7), 1));
}
TEST ( Boundary , test_method_partialWithin ) { Boundary bound ( 1 , 2 , 3 , 6 ) ; EXPECT_TRUE ( bound . partialWithin ( Boundary ( 1 , 2 , 1 , 2 ) ) ) ; EXPECT_FALSE ( bound . partialWithin ( Boundary ( 10 , 17 , 13 , 16 ) ) ) ; EXPECT_TRUE ( bound . partialWithin ( Boundary ( 1 , 2 , 3 , 6 ) ) ) ; EXPECT_TRUE ( bound . partialWithin ( Boundary ( 4 , 2 , 5 , 7 ) , 1 ) ) ; }
Test the method 'partialWithin'
Test the method ' partialWithin '