Description: The matrixcalculationslibrarytests
class provides various methods for performing tests on class dedicated to calculations on matrices.
Method Name | Description |
---|---|
TestSetInputMatrix1Double |
Test for checking if the double type vectors can be set to input_matrix_1 correctly. |
TestSetInputMatrix1Float |
Test for checking if the float type vectors can be set to input_matrix_1 correctly. |
TestSetInputMatrix1Int |
Test for checking if the integer type vectors can be set to input_matrix_1 correctly. |
TestSetInputMatrix2Double |
Test for checking if the double type vectors can be set to input_matrix_2 correctly. |
TestSetInputMatrix2Float |
Test for checking if the float type vectors can be set to input_matrix_2 correctly. |
TestSetInputMatrix2Int |
Test for checking if the integer type vectors can be set to input_matrix_2 correctly. |
TestSetOutputMatrixDouble |
Test for checking if the double type vectors can be set to output_matrix correctly. |
TestSetOutputMatrixFloat |
Test for checking if the float type vectors can be set to output_matrix correctly. |
TestSetOutputMatrixInt |
Test for checking if the integer type vectors can be set to output_matrix correctly. |
TestSetScalarDouble |
Test for checking if the double type scalar value can be set correctly. |
TestSetScalarFloat |
Test for checking if the float type scalar value can be set correctly. |
TestSetScalarInt |
Test for checking if the integer type scalar value can be set correctly. |
TestSetGetDetDouble |
Test for checking if the double type determinant value can be set and retrieved correctly. |
TestSetGetDetFloat |
Test for checking if the float type determinant value can be set and retrieved correctly. |
TestSetGetDetInt |
Test for checking if the integer type determinant value can be set and retrieved correctly. |
TestSetGetSizesDouble |
Test for checking if the vector of double type can be set and retrieved for sizes correctly. |
TestSetGetSizesFloat |
Test for checking if the vector of float type can be set and retrieved for sizes correctly. |
TestSetGetSizesInt |
Test for checking if the vector of integer type can be set and retrieved for sizes correctly. |
TestSetGetMinorMatrixDouble |
Test for checking if the 2D vector of double type can be set and retrieved for minor_matrix correctly. |
TestSetGetMinorMatrixFloat |
Test for checking if the 2D vector of float type can be set and retrieved for minor_matrix correctly. |
TestSetGetMinorMatrixInt |
Test for checking if the 2D vector of integer type can be set and retrieved for minor_matrix correctly. |
TestSetGetTransposedMatrixDouble |
Verify setting and retrieving transposed_matrix for double type |
TestSetGetTransposedMatrixFloat |
Verify setting and retrieving transposed_matrix for float type |
TestSetGetTransposedMatrixInt |
Verify setting and retrieving transposed_matrix for integer type |
TestSetGetAllMinorsDouble |
Verify setting and retrieving 3D vector of all_minors for double type |
TestSetGetAllMinorsFloat |
Verify setting and retrieving 3D vector of all_minors for float type |
TestSetGetAllMinorsInt |
Verify setting and retrieving 3D vector of all_minors for integer type |
TestMultiplyByScalarDouble |
Test multiplying matrix by scalar for double type |
TestMultiplyByScalarFloat |
Test multiplying matrix by scalar for float type |
TestMultiplyByScalarInt |
Test multiplying matrix by scalar for integer type |
TestGetMatrixSize |
Test retrieving matrix dimensions |
TestGetMatrixDeterminant1x1 |
Test calculating determinant for 1x1 matrix |
TestGetMatrixDeterminant2x2 |
Test calculating determinant for 2x2 matrix |
TestGetMatrixDeterminant3x3 |
Test calculating determinant for 3x3 matrix |
TestGetMatrixMinorValid |
Test getting minor of matrix |
TestGetMatrixMinorInvalid |
Test handling invalid row/column index for matrix minor |
TestCutAllMinors |
Test for checking if the method cutting all minors from matrix works correctly. |
TestAddMatrix |
Test for checking if the method for adding two matrices works correctly. |
TestSubtractMatrix |
Test for checking if the method for subtracting two matrices works correctly. |
TestMultiplyMatrices_2x3_3x2 |
Test for multiplying a 2x3 matrix with a 3x2 matrix. |
TestMultiplyMatrices_3x3_3x3 |
Test for multiplying two 3x3 matrices. |
TestCountDet0x0 |
Test for counting determinant of 0x0 matrix. |
TestCountDet1x1 |
Test for counting determinant of 1x1 matrix. |
TestCountDet2x2 |
Test for counting determinant of 2x2 matrix. |
TestCountDet3x3 |
Test for counting determinant of 3x3 matrix. |
TestCountDet4x4 |
Test for counting determinant of 4x4 matrix. |
TestCountDet5x5 |
Test for counting determinant of 5x5 matrix. |
TestCountInverse1x1 |
Test for counting inverse of 1x1 matrix. |
TestCountInverse2x2 |
Test for counting inverse of 2x2 matrix. |
TestCountInverse3x3 |
Test for counting inverse of 3x3 matrix. |
TestCountInverse4x4 |
Test for counting inverse of 4x4 matrix. |
TestCount2x2NoInverse |
Test of inverese matrix method for 2x2 matrix where matrix has no inverse. |