-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Project tester now has been added (Maven) 🎉 #43
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A method that tests and checks equality on constructed identity matrix.
A method that tests and checks equality on constructed square matrix (using `Matrix(int, int, int)`).
Added some test on `test_MatrixWithNullEntries` to checks a non-equality on matrix with `null` entries with matrix that get initialized with new entries (which previously has `null` entries).
This changed to make it clear and no confusion between "matrix with null entries" and "null matrix (or zero matrix)"
The tests itself is to checks a equality on deep copied zero matrix, and checks whether both matrices has equal memory references. Also some change on `test_SquareMatrix` to checks its memory references for both matrices.
A class that tests and checks the equality of results from all matrix operations that JMatrix currently has.
The test itself is checking whether both operands are same dimensions.
Method that checks and tests the subtraction results from both operands, and both operands also get some tests before operate subtraction (e.g. check whether both operands are same dimensions).
A method that tests and checks equality of scalar multiplication results, furthermore this method checks either rectangle matrix and identity matrix (which also included, square matrix and diagonal matrix).
Method that tests and checks the equality results of matrix multiplication either on rectangle matrices or diagonal matrices (including identity matrix and square matrix).
A method that tests and checks the equality results of transposed both on rectangle matrices or square matrices.
This method would tests and checks the equality of constructed array of matrices.
mitsuki31
changed the title
Project tester now has been added 🎉
Project tester now has been added (Maven) 🎉
Jun 18, 2023
mitsuki31
added
feature
Add new features to improve the project
and removed
enhancement
Enhancing existing features
labels
Aug 8, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What's Changed
Change the dependency (0fb7cda)
Added
Test_MatrixConstructor
(30a8e65)test_IdentityMatrix
(46e520f)test_SquareMatrix
(4490215)test_MatrixWithNullEntries
(fad66d3)test_NullMatrix
totest_ZeroMatrix
(54ed33d)test_ConstructArrayOfMatrices
(8f0bfc4)Added
Test_MatrixOperations
(bfc4076)test_MatrixSubtraction
(fd07af2)test_MatrixAddition
also tests identity matrix (f86edc7)test_MatrixSubtraction
also tests identity matrix (f853df6)test_ScalarMultiplication
(bfeef16)test_MatrixMultiplication
(de6af88)test_MatrixTransposition
(01f37d7)Summary
Now users that wants to build the project using Maven can test the project with command
mvn test
ormvn verify
. And I hope these tests could help catch some issues or bugs more easier while build the project :).