Co-Simulation/Sumo/sumo-1.7.0/unittest/src/utils/geom/BoundaryTest.cpp
/* Test the method 'around'*/
Test the method 'around'
Test the method ' around '
TEST(Boundary, test_method_around) {
    Boundary bound(1, 2, 3, 6);
    EXPECT_TRUE(bound.around(Position(2, 4)));
    EXPECT_FALSE(bound.around(Position(0, 4)));
    EXPECT_FALSE(bound.around(Position(2, 7)));
    EXPECT_TRUE(bound.around(Position(0, 7), 2));
}
TEST ( Boundary , test_method_around ) { Boundary bound ( 1 , 2 , 3 , 6 ) ; EXPECT_TRUE ( bound . around ( Position ( 2 , 4 ) ) ) ; EXPECT_FALSE ( bound . around ( Position ( 0 , 4 ) ) ) ; EXPECT_FALSE ( bound . around ( Position ( 2 , 7 ) ) ) ; EXPECT_TRUE ( bound . around ( Position ( 0 , 7 ) , 2 ) ) ; }
Test the method 'around'
Test the method ' around '