MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / TEST_F

Function TEST_F

tests/src/Mod/Material/App/TestMaterials.cpp:66–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64};
65
66TEST_F(TestMaterial, TestInstallation)
67{
68 ASSERT_NE(_modelManager, nullptr);
69
70 // We should have loaded at least the system library
71 auto libraries = _materialManager->getLibraries();
72 ASSERT_GT(libraries->size(), 0);
73
74 // We should have at least one material
75 auto materials = _materialManager->getLocalMaterials();
76 ASSERT_GT(materials->size(), 0);
77}
78
79TEST_F(TestMaterial, TestMaterialsWithModel)
80{

Callers

nothing calls this directly

Calls 15

parseQuantityFunction · 0.85
atMethod · 0.80
getPhysicalModelsMethod · 0.80
addPhysicalMethod · 0.80
clearModelsMethod · 0.80
removePhysicalMethod · 0.80
getAppearanceModelsMethod · 0.80
addAppearanceMethod · 0.80
removeAppearanceMethod · 0.80
getPhysicalPropertiesMethod · 0.80
getPhysicalQuantityMethod · 0.80

Tested by

no test coverage detected