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

Function test_create_vertex_attribute

tests/mesh/test-point-set.cpp:85–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85void test_create_vertex_attribute( const geode::PointSet3D& point_set )
86{
87 auto attribute =
88 point_set.vertex_attribute_manager()
89 .find_or_create_attribute< geode::ConstantAttribute, bool >(
90 "test", true );
91 geode::OpenGeodeMeshException::test(
92 attribute->value() == true, "PointSet attribute value should be true" );
93}
94
95void test_delete_vertex(
96 const geode::PointSet3D& point_set, geode::PointSetBuilder3D& builder )

Callers 1

testFunction · 0.70

Calls 2

testFunction · 0.70
valueMethod · 0.45

Tested by

no test coverage detected