Class: matrixcapitests

Description: The matrixcapitests class provides various methods for performing tests of class that is an API of the library.

Methods

Method Name Description
TestMatrixAdditionAPI Test of additon method called from API.
TestMatrixAdditionExceptionAPI Test for matrix addition with mismatched sizes, expecting an exception.
TestMatrixSubtractionAPI Test for matrix subtraction method in API.
TestMatrixSubtractionExceptionAPI Test for matrix subtraction with mismatched sizes, expecting an exception.
TestMatrixMultiplyByScalarAPI Test for matrix multiplication by a scalar.
TestMatrixTranspositionAPI Test for matrix transposition.
TestMatrixMultiplicationAPI Test for matrix multiplication.
TestMatrixMultiplicationExceptionAPI Test for matrix multiplication with invalid dimensions.
TestGetMatrixMinorValid Test for method that cuts minor matrix called from API.
TestCutAllMinorsAPI Test for method that cuts all minor matrices called from API.
TestAPICountDet0x0 Test for counting determinant of 0x0 matrix from API.
TestAPICountDet1x1 Test for counting determinant of 1x1 matrix from API.
TestAPICountDet2x2 Test for counting determinant of 2x2 matrix from API.
TestAPICountDet3x3 Test for counting determinant of 3x3 matrix from API.
TestAPICountDet4x4 Test for counting determinant of 4x4 matrix from API.
TestAPICountDet5x5 Test for counting determinant of 5x5 matrix from API.
TestAPICountDetException Test for counting determinant function if exception is raised.
TestAPICheckMatrixIntegrityTrue Test to check if integrity matrix check from API returns true if matrix have correct form.
TestAPICheckMatrixIntegrityFalse Test to check if integrity matrix check from API returns false if matrix does not have correct form.
TestAPICheckMatrixSizesTrue Test to check method called from API that compares two equal matrixes sizes.
TestAPICheckMatrixSizesFalse1 Test to check method called from API that compares two differnt matrixes sizes.
TestAPICheckMatrixSizesFalse2 Alternative test to check method called from API that compares two differnt matrixes sizes.
TestAPICheckMatrixColumnTrue Test to check if column_matrix_check() method called from API returns true if given matrix is a column matrix.
TestAPICheckMatrixColumnFalse Test to check if column_matrix_check() method called from API returns false if given matrix is not a column matrix.
TestAPICheckMatrixRowTrue Test to check if row_matrix_check() method called from API returns true if given matrix is a row matrix.
TestAPICheckMatrixRowFalse Test to check if row_matrix_check() method called from API returns false if given matrix is not a row matrix.
TestAPICheckMatrixRectangularTrue Test to check if rectangular_matrix_check() method called from API returns true if given matrix is a rectangular matrix.
TestAPICheckMatrixRectangularFalse Test to check if rectangular_matrix_check() method called from API returns false if given matrix is not a rectangular matrix.
TestAPICheckMatrixSquareTrue Test to check if square_matrix_check() method called from API returns true if given matrix is a square matrix.
TestAPICheckMatrixSquareFalse Test to check if square_matrix_check() method called from API returns false if given matrix is a not a square matrix.
TestAPICheckMatrixIdentityTrue Test to check if identity_matrix_check() method called from API returns true if given matrix is an identity matrix.
TestAPICheckMatrixIdentityFalse Test to check if identity_matrix_check() method called from API returns false if given matrix is not an identity matrix.
TestAPICheckMatrixDiagonalTrue Test to check if diagonal_matrix_check() method called from API returns true if given matrix is a diagonal matrix.
TestAPICheckMatrixDiagonalFalse Test to check if diagonal_matrix_check() method called from API returns false if given matrix is not a diagonal matrix.
TestAPICheckMatrixScalarTrue Test to check if scalar_matrix_check() method called from API returns true if given matrix is a scalar matrix.
TestAPICheckMatrixScalarFalse Test to check if scalar_matrix_check() method called from API returns false if given matrix is a not scalar matrix.
TestAPICheckMatrixNullTrue Test to check if null_matrix_check() method called from API returns true if given matrix is a null matrix.
TestAPICheckMatrixNullFalse Test to check if null_matrix_check() method called from API returns false if given matrix is not a null matrix.
TestAPICheckMatrixUpperTriangularTrue Test to check if upper triangular matrix check method called from API returns true if given matrix is an upper triangular matrix.
TestAPICheckMatrixUpperTriangularFalse Test to check if upper triangular matrix check method called from API returns false if given matrix is not an upper triangular matrix.
TestAPICheckMatrixLowerTriangularTrue Test to check if lower triangular matrix check method called from API returns true if given matrix is an lower triangular matrix.
TestAPICheckMatrixLowerTriangularFalse Test to check if lower triangular matrix check method called from API returns false if given matrix is not an lower triangular matrix.
TestAPICheckMatrixEqualityTrue Test to check if equality_check called from API returns true if two matrixes are equal.
TestAPICheckMatrixEqualityFalse Test to check if equality_check called from API returns false if two matrixes are not equal.
TestAPICheckMatrixBinaryTrue Test to check if binary_matrix_check() method called from API returns true if given matrix is a binary matrix.
TestAPICheckMatrixBinaryFalse Test to check if binary_matrix_check() method called from API returns false if given matrix is not a binary matrix.
TestAPICountInverse1x1 Test for method counting inverse of 1x1 matrix called in API.
TestAPICountInverse2x2 Test for method counting inverse of 2x2 matrix called in API.
TestAPICountInverse3x3 Test for method counting inverse of 3x3 matrix called in API.
TestAPICountInverse4x4 Test for method counting inverse of 4x4 matrix called in API.
TestAPICount2x2NoInverse Test of inverese matrix method called in API for 2x2 matrix where matrix has no inverse.
TestAPIInverseException Test of inverese matrix method called in API where input data raises an exception.
TestAPIReadMatrixSizes Test of method to get matrix sizes called in API.