Skip to content
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
merged 16 commits into from
Jun 18, 2023
Merged

Project tester now has been added (Maven) 🎉 #43

merged 16 commits into from
Jun 18, 2023

Conversation

mitsuki31
Copy link
Owner

What's Changed

  • Change the dependency (0fb7cda)

  • Added Test_MatrixConstructor (30a8e65)

    • Added test_IdentityMatrix (46e520f)
    • Added test_SquareMatrix (4490215)
    • Added some test on test_MatrixWithNullEntries (fad66d3)
    • Change test_NullMatrix to test_ZeroMatrix (54ed33d)
    • Added test_ConstructArrayOfMatrices (8f0bfc4)
  • Added Test_MatrixOperations (bfc4076)

    • Added a test before operate addition (ead65b9)
    • Added test_MatrixSubtraction (fd07af2)
    • Now test_MatrixAddition also tests identity matrix (f86edc7)
    • Now test_MatrixSubtraction also tests identity matrix (f853df6)
    • Added test_ScalarMultiplication (bfeef16)
    • Added test_MatrixMultiplication (de6af88)
    • Added test_MatrixTransposition (01f37d7)

Summary

Now users that wants to build the project using Maven can test the project with command mvn test or mvn verify. And I hope these tests could help catch some issues or bugs more easier while build the project :).

Note All tests was normally executed and doesn't gave neither an issue nor error on Unix system.

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 mitsuki31 added the enhancement Enhancing existing features label Jun 18, 2023
@mitsuki31 mitsuki31 self-assigned this Jun 18, 2023
@mitsuki31 mitsuki31 changed the title Project tester now has been added 🎉 Project tester now has been added (Maven) 🎉 Jun 18, 2023
@mitsuki31 mitsuki31 merged commit e75d8a7 into master Jun 18, 2023
@mitsuki31 mitsuki31 deleted the develop branch June 19, 2023 10:11
@mitsuki31 mitsuki31 added the lang:java Some changes on Java code label Jun 21, 2023
@mitsuki31 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
Labels
feature Add new features to improve the project lang:java Some changes on Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant