From: ruby-core@... Date: 2014-07-18T09:57:27+00:00 Subject: [ruby-core:63821] [ruby-trunk - Feature #10057] [PATCH] Add tests for Matrix class. Issue #10057 has been updated by Marc-Andre Lafortune. Gogo Tanaka san, Thanks for these additional tests. Please note that the vast majority of tests of the Matrix library are in RubySpec: https://github.com/rubysl/rubysl-matrix I hope you'll find them extensive, having for instance many more tests than found in this patch `imaginary`. If you'd like to port them this would be great. ---------------------------------------- Feature #10057: [PATCH] Add tests for Matrix class. https://bugs.ruby-lang.org/issues/10057#change-47856 * Author: gogo tanaka * Status: Closed * Priority: Normal * Assignee: * Category: lib * Target version: ---------------------------------------- I send 7 patches. In one of patches (reorder_Matrix#real_and_Matrix_imaginary.patch), I just reorder methods. I think Matrix#real should be upon Matrix#imaginary(From what I see complex.c) In the others(6 patches), I add tests for Matrix class. ---Files-------------------------------- add_test_for_Matrix#eigensystem.patch (594 Bytes) add_test_for_Matrix#lup.patch (644 Bytes) add_test_for_Matrix#conjugate.patch (775 Bytes) add_test_for_Matrix#real.patch (504 Bytes) add_test_for_Matrix#imaginary.patch (485 Bytes) add_test_for_Matrix#rect.patch (512 Bytes) -- https://bugs.ruby-lang.org/