| 44 | } |
| 45 | |
| 46 | void acute_system2D() |
| 47 | { |
| 48 | geode::Logger::info( "Acute system 2D" ); |
| 49 | const geode::CoordinateSystem2D coord_system{ |
| 50 | { geode::Vector2D{ { 1, 0 } }, geode::Vector2D{ { 1, 1 } } }, |
| 51 | geode::Point2D{ { 1, 1 } } |
| 52 | }; |
| 53 | check_point( |
| 54 | coord_system, geode::Point2D{ { 0, 1 } }, geode::Point2D{ { -1, 0 } } ); |
| 55 | check_point( |
| 56 | coord_system, geode::Point2D{ { 0, 0 } }, geode::Point2D{ { 0, -1 } } ); |
| 57 | check_point( coord_system, geode::Point2D{ { -1, 0 } }, |
| 58 | geode::Point2D{ { -1, -1 } } ); |
| 59 | check_point( |
| 60 | coord_system, geode::Point2D{ { 2, 0 } }, geode::Point2D{ { 2, -1 } } ); |
| 61 | } |
| 62 | |
| 63 | void optuse_system2D() |
| 64 | { |
no test coverage detected