Skip to content

Commit

Permalink
Improve test parametrization (#31)
Browse files Browse the repository at this point in the history
Improve and simplify test parametrization
  • Loading branch information
petiaccja authored Jul 1, 2023
1 parent 9d3bebc commit 4f7b985
Show file tree
Hide file tree
Showing 20 changed files with 2,666 additions and 2,666 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -228,3 +228,5 @@ _Pvt_Extensions

CMakeUserPresets.json
.vscode/

.cache/
2 changes: 1 addition & 1 deletion include/Mathter/Transforms/OrthographicBuilder.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class OrthographicBuilder {
private:
template <class U, int Rows, int Columns, eMatrixOrder Order, eMatrixLayout Layout, bool MPacked>
void Set(Matrix<U, Rows, Columns, Order, Layout, MPacked>& m) const {
using VectorT = Vector<T, Dim, false>;
using VectorT = Vector<T, Dim, Packed>;

VectorT volumeSize = maxBounds - minBounds;
VectorT scale = T(2) / volumeSize;
Expand Down
18 changes: 9 additions & 9 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ target_sources(UnitTest
PRIVATE
"main.cpp"
"TestIntersection.cpp"
"TestMatrixImpl.cpp"
"TestMatrixArithmetic.cpp"
"TestMatrixVectorArithmetic.cpp"
"TestMatrixDecomposition.cpp"
"TestMatrixFunction.cpp"
"TestMatrix/TestMatrixImpl.cpp"
"TestMatrix/TestMatrixArithmetic.cpp"
"TestMatrix/TestMatrixVectorArithmetic.cpp"
"TestMatrix/TestMatrixDecomposition.cpp"
"TestMatrix/TestMatrixFunction.cpp"
"TestTransforms.cpp"
"TestQuaternion.cpp"
"TestVectorImpl.cpp"
"TestVectorFunction.cpp"
"TestVectorConcat.cpp"
"TestVectorArithmetic.cpp"
"TestVector/TestVectorImpl.cpp"
"TestVector/TestVectorFunction.cpp"
"TestVector/TestVectorConcat.cpp"
"TestVector/TestVectorArithmetic.cpp"
"TestGenerators.hpp"
"TestGeometry.cpp"
)
Expand Down
Loading

0 comments on commit 4f7b985

Please sign in to comment.