| 111 | } |
| 112 | |
| 113 | void test_several_containers() |
| 114 | { |
| 115 | const geode::detail::VertexCycle< std::vector< geode::index_t > > cycle1{ |
| 116 | { 0, 1, 2, 3 } |
| 117 | }; |
| 118 | const geode::detail::VertexCycle< absl::InlinedVector< geode::index_t, 4 > > |
| 119 | cycle2{ { 2, 3, 0, 1 } }; |
| 120 | const geode::detail::VertexCycle< std::array< geode::index_t, 3 > > cycle3{ |
| 121 | { 2, 3, 1 } |
| 122 | }; |
| 123 | |
| 124 | geode::OpenGeodeMeshException::test( cycle1 == cycle2, |
| 125 | "Wrong result for operator== with cycle1 and cycle2" ); |
| 126 | geode::OpenGeodeMeshException::test( cycle1 != cycle3, |
| 127 | "Wrong result for operator!= with cycle1 and cycle3" ); |
| 128 | } |
| 129 | |
| 130 | void test() |
| 131 | { |