[FEAT] Add Normal
This commit is contained in:
@@ -324,9 +324,7 @@ SCENARIO("Transposing a matrix", "[features/matrices.feature]")
|
||||
{0, 8, 3, 8}
|
||||
};
|
||||
|
||||
A.transpose();
|
||||
|
||||
REQUIRE(A == transposed);
|
||||
REQUIRE(A.transpose() == transposed);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -337,9 +335,8 @@ SCENARIO("Transposing the identity matrix", "[features/matrices.feature]")
|
||||
{
|
||||
GIVEN("A <- transpose(identity_matrix)")
|
||||
{
|
||||
Matrix A = Matrix::identity();
|
||||
Matrix A = Matrix::identity().transpose();
|
||||
|
||||
A.transpose();
|
||||
THEN("A = identity_matrix")
|
||||
{
|
||||
REQUIRE(A == Matrix::identity());
|
||||
|
||||
Reference in New Issue
Block a user