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

Function TEST_F

tests/tools/Assembler/FESetting/FESettingTest.h:32–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30};
31
32TEST_F(FESettingTest, Creation) {
33 MeshPtr mesh = load_mesh("cube.msh");
34 FESettingPtr setting = FESettingFactory(mesh)
35 .with_material("test_material")
36 .create();
37
38 ASSERT_EQ(3, setting->get_mesh()->getDim());
39}
40
41TEST_F(FESettingTest, MissingMaterial) {
42 MeshPtr mesh = load_mesh("cube.msh");

Callers

nothing calls this directly

Calls 5

load_meshFunction · 0.85
FESettingFactoryClass · 0.85
createMethod · 0.45
getDimMethod · 0.45
get_meshMethod · 0.45

Tested by

no test coverage detected