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

Function TEST

tests/src/Base/Placement.cpp:9–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7static const double epsilon = 1e-9;
8
9TEST(Placement, TestDefault)
10{
11 Base::Placement plm;
12 EXPECT_EQ(plm.getPosition().IsNull(), true);
13 EXPECT_EQ(plm.getRotation().isNull(), false);
14 EXPECT_EQ(plm.getRotation().isIdentity(), true);
15}
16
17TEST(Placement, TestPosRot)
18{

Callers

nothing calls this directly

Calls 15

Vector3dClass · 0.85
toRadiansFunction · 0.85
rotXMethod · 0.80
rotYMethod · 0.80
rotZMethod · 0.80
toDualQuaternionMethod · 0.80
RotationClass · 0.50
IsNullMethod · 0.45
getPositionMethod · 0.45
isNullMethod · 0.45
getRotationMethod · 0.45
isIdentityMethod · 0.45

Tested by

no test coverage detected