message: Add test for function get_line_from_s_interval
diff: @@ -531,6 +531,31 @@ TEST(line, get_s_at_pt_1) {
  EXPECT_TRUE(Point2d(0.0, 2.5) == p5);
  }
  +TEST(line, get_line_from_s_interval) {
  + using namespace std;
  + using namespace modules::geometry;
  +
  + Point2d point_1(0.0, 1.0);
  + Point2d point_2(0.0, 2.0);
  + Point2d point_3(0.0, 3.0);
  +
  + Line_t<Point2d> line;
  +
  + line.add_point(point_1);
  + line.add_point(point_2);
  + line.add_point(point_3);
  +
  + Line_t<Point2d> line_segment = get_line_from_s_interval(line, 0.5, 1.5);
  +
  + Point2d p1 = get_point_at_s(line_segment, 0.0);
  + Point2d p2 = get_point_at_s(line_segment, 0.5);
  + Point2d p3 = get_point_at_s(line_segment, 1.0);
  +
  + EXPECT_TRUE(Point2d(0.0, 1.5) == p1);
  + EXPECT_TRUE(point_2 == p2);
  + EXPECT_TRUE(Point2d(0.0, 2.5) == p3);
  +}
  +
  TEST(line, get_nearest_point_1) {
  using namespace std;
  using namespace modules::geometry;
  