overall PIMathMatrix tests correction
This commit is contained in:
@@ -576,14 +576,14 @@ TEST(PIMathMatrix_Test, hermitian) {
|
||||
ASSERT_TRUE(true);
|
||||
}
|
||||
|
||||
TEST(PIMathMatrixT_Test, matrixMultiplication)
|
||||
TEST(PIMathMatrix_Test, matrixMultiplication)
|
||||
{
|
||||
PIMathMatrix<double> matrix1(2, 2, 1.5);
|
||||
PIMathMatrix<double> matrix2(2, 2, 2.5);
|
||||
ASSERT_TRUE(cmpSquareMatrixWithValue(matrix1 * matrix2, 7.5, 2));
|
||||
}
|
||||
|
||||
TEST(PIMathMatrixT_Test, matrixAndVectorMultiplication)
|
||||
TEST(PIMathMatrix_Test, matrixAndVectorMultiplication)
|
||||
{
|
||||
PIMathMatrix<double> matrix1(2, 2, 1.5);
|
||||
PIMathVector<double> vector;
|
||||
@@ -596,7 +596,7 @@ TEST(PIMathMatrixT_Test, matrixAndVectorMultiplication)
|
||||
ASSERT_TRUE(true);
|
||||
}
|
||||
|
||||
TEST(PIMathMatrixT_Test, vectorAndMatrixMultiplication)
|
||||
TEST(PIMathMatrix_Test, vectorAndMatrixMultiplication)
|
||||
{
|
||||
PIMathMatrix<double> matrix1(2, 2, 1.5);
|
||||
PIMathVector<double> vector;
|
||||
@@ -609,13 +609,13 @@ TEST(PIMathMatrixT_Test, vectorAndMatrixMultiplication)
|
||||
ASSERT_TRUE(true);
|
||||
}
|
||||
|
||||
TEST(PIMathMatrixT_Test, valAndMatrixMultiplication)
|
||||
TEST(PIMathMatrix_Test, valAndMatrixMultiplication)
|
||||
{
|
||||
PIMathMatrix<double> matrix1(3, 3, 1.5);
|
||||
ASSERT_TRUE(cmpSquareMatrixWithValue(25.0*matrix1, 37.5, 3));
|
||||
}
|
||||
|
||||
TEST(PIMathMatrixT_Test, hermitian)
|
||||
TEST(PIMathMatrix_Test, hermitian)
|
||||
{
|
||||
complex<double> val;
|
||||
complex<double> res;
|
||||
@@ -634,4 +634,3 @@ TEST(PIMathMatrixT_Test, hermitian)
|
||||
}
|
||||
ASSERT_TRUE(true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user