| 116 | } |
| 117 | |
| 118 | void optuse_system3D() |
| 119 | { |
| 120 | geode::Logger::info( "Optuse system3D" ); |
| 121 | const geode::CoordinateSystem3D coord_system{ |
| 122 | { geode::Vector3D{ { -1, 0, 0 } }, geode::Vector3D{ { -2, -1, 0 } }, |
| 123 | geode::Vector3D{ { 1, 3, 2 } } }, |
| 124 | geode::Point3D{ { -1, 1, -1 } } |
| 125 | }; |
| 126 | check_point( coord_system, geode::Point3D{ { -1, 1, -1 } }, |
| 127 | geode::Point3D{ { 0, 0, 0 } } ); |
| 128 | check_point( coord_system, geode::Point3D{ { -3, 3, 1 } }, |
| 129 | geode::Point3D{ { 1, 1, 1 } } ); |
| 130 | check_point( coord_system, geode::Point3D{ { -1, -1, -3 } }, |
| 131 | geode::Point3D{ { 1, -1, -1 } } ); |
| 132 | check_point( coord_system, geode::Point3D{ { -9.75, -4.5, -2 } }, |
| 133 | geode::Point3D{ { 0.25, 4, -0.5 } } ); |
| 134 | } |
| 135 | |
| 136 | void test() |
| 137 | { |
no test coverage detected