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

Function TEST_F

tests/tools/Wires/Attributes/WireAttributeTest.h:10–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8};
9
10TEST_F(WireAttributeTest, Creation) {
11 MatrixFr values(1, 1);
12 values.coeffRef(0, 0) = 1.0;
13
14 WireAttribute attr;
15 attr.set_values(values);
16
17 ASSERT_EQ(1, attr.size());
18 ASSERT_FLOAT_EQ(0.0, (attr.get_values() - values).norm());
19}

Callers

nothing calls this directly

Calls 4

normMethod · 0.80
set_valuesMethod · 0.45
sizeMethod · 0.45
get_valuesMethod · 0.45

Tested by

no test coverage detected