MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / TEST

Function TEST

test/math/Matrix4.cpp:27–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27TEST(Matrix4Test, CreateIdentityMatrix)
28{
29 const Matrix4 identity = Matrix4::getIdentity();
30 EXPECT_EQ(identity, Matrix4::byRows(1, 0, 0, 0,
31 0, 1, 0, 0,
32 0, 0, 1, 0,
33 0, 0, 0, 1));
34}
35
36TEST(Matrix4Test, AssignMatrixComponents)
37{

Callers

nothing calls this directly

Calls 15

RadiansClass · 0.85
DegreesClass · 0.85
getInverseScaleFunction · 0.85
xMethod · 0.80
yMethod · 0.80
zMethod · 0.80
translationMethod · 0.80
xCol3Method · 0.80
yCol3Method · 0.80
zCol3Method · 0.80
tColMethod · 0.80
setXColMethod · 0.80

Tested by

no test coverage detected