Files
j3ml/tests/LinearAlgebra/Matrix4x4Tests.cpp
josh 2573757017
Some checks failed
Run tests / Explore-Gitea-Actions (push) Failing after 1m26s
Build Docs With Doxygen / Explore-Gitea-Actions (push) Successful in 25s
Implement additional Matrix unit tests
2024-06-05 15:56:19 -04:00

12 lines
243 B
C++

#include <gtest/gtest.h>
#include <J3ML/LinearAlgebra/Matrix4x4.h>
using namespace J3ML::LinearAlgebra;
TEST(Mat4x4, Add_Unary)
{
Matrix4x4 m(1,2,3,4, 5,6,7,8, 9,10,11,12, 13,14,15,16);
Matrix4x4 m2 = +m;
assert(m.Equals(m2));
}