18 s1 = {{ 0, 1}, {0, -1}};
20 std::vector<Segment> segments;
21 segments.push_back(s0);
22 segments.push_back(s1);
28 if (possibleCrossings) {
29 auto crossings = possibleCrossings.value();
34 (crossings[0].s0 == s1 && crossings[0].s1 == s0));
38 Point p0 = {-50, -100},
45 std::vector<Segment> segments{s0, s1, s2};
49 if (possibleCrossings) {
50 auto crossings = possibleCrossings.value();
55 Point p0 = {-50, 100},
62 std::vector<Segment> segments{s0, s1, s2};
66 if (possibleCrossings) {
67 auto crossings = possibleCrossings.value();
DEF_TEST(BO_bentley_ottmann_1_Basic, reporter)
#define REPORTER_ASSERT(r, cond,...)
std::optional< std::vector< Crossing > > bentley_ottmann_1(SkSpan< const Segment > segments)