821 | | == Task : Increase Test Coverage for NumMatrix2D == |
822 | | |
823 | | '''Title''': Increase Test Coverage for NumMatrix2D |
824 | | |
825 | | '''Category''': Code |
826 | | |
827 | | '''Difficulty''': medium |
828 | | |
829 | | '''Estimated time''': 4 hours |
830 | | |
831 | | '''Task description''': Consists of: |
832 | | |
833 | | * Tests are an important part of verifying the behavior of software. The Parrot-Linear-Algebra (PLA) project has several tests to exercise it's core PMC types, but needs more to cover additional input cases, especially error conditions. |
834 | | * Tests are needed for basic arithmetic operations (addition and multiplication) and several methods calls (gemm, row operations, etc). |
835 | | * Tests should cover cases where input matrices have incorrect sizes, where the wrong types of PMCs are passed to operations and methods, and where invalid values are used |
836 | | * The user is expected to write approximately 15 new tests for the NumMatrix2D type to cover conditions that are not already tested |
837 | | |
838 | | '''Benefits''': PLA will benefit strongly from additional test coverage. Tests help to prove that the software works correctly, and prevent breakages when things are changed in the future. More tests help inform users about possible consequences to their own software when using PLA under certain conditions. |
839 | | |
840 | | '''Requirements''': Knowledge of programming (no specific languages), Linear algebra, access to a Linux system |
841 | | |
842 | | '''Links''': http://github.com/Whiteknight/parrot-linear-algebra |
843 | | |
844 | | '''Potential Mentor''': Whiteknight |
845 | | |
846 | | |
| 821 | |