MCPcopy Create free account
hub / github.com/Geode-solutions/OpenGeode / test_single_vertex_cycle

Function test_single_vertex_cycle

tests/mesh/test-vertex-cycle.cpp:32–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30#include <geode/tests/common.hpp>
31
32void test_single_vertex_cycle()
33{
34 const geode::detail::VertexCycle< std::array< geode::index_t, 1 > > cycle1{
35 { 3 }
36 };
37 const geode::detail::VertexCycle< std::array< geode::index_t, 1 > > cycle2{
38 { 4 }
39 };
40 geode::OpenGeodeMeshException::test( cycle1 != cycle2,
41 "Wrong result for operator!= with cycle1 and cycle2" );
42}
43
44void test_vertex_cycle()
45{

Callers 1

testFunction · 0.85

Calls 1

testFunction · 0.70

Tested by

no test coverage detected