| 345 | } |
| 346 | |
| 347 | static void DoErrorTest1(int index) |
| 348 | { |
| 349 | PipFunction pip_func = GetPIPFunc(index); |
| 350 | |
| 351 | std::cout << SetConsoleTextColor(green_bold) << |
| 352 | "Testing PIP" << index +1 << "/outside:" << SetConsoleTextColor(reset); |
| 353 | DoErrorTest1_internal(points_of_interest_outside, paths, |
| 354 | pip_func, PointInPolygonResult::IsOutside); |
| 355 | |
| 356 | std::cout << SetConsoleTextColor(green_bold) << |
| 357 | "Testing PIP" << index +1 << "/inside :" << SetConsoleTextColor(reset); |
| 358 | DoErrorTest1_internal(points_of_interest_inside, paths, |
| 359 | pip_func, PointInPolygonResult::IsInside); |
| 360 | } |
| 361 | |
| 362 | static void DoErrorTest2(int index) |
| 363 | { |
no test coverage detected