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

Function test

tests/mesh/test-texture-manager.cpp:122–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122void test()
123{
124 geode::OpenGeodeMeshLibrary::initialize();
125 geode::AttributeManager attributes;
126 attributes.resize( 42 );
127 geode::TextureStorage2D storage;
128 create_texture( attributes, storage );
129 save( storage, "storage" );
130 auto reload = load( "storage" );
131 check_texture( attributes, reload );
132}
133
134OPENGEODE_TEST( "texture-manager" )

Callers 3

check_textureFunction · 0.70
saveFunction · 0.70
loadFunction · 0.70

Calls 6

initializeFunction · 0.85
create_textureFunction · 0.85
saveFunction · 0.85
loadFunction · 0.85
check_textureFunction · 0.85
resizeMethod · 0.45

Tested by

no test coverage detected