Project

General

Profile

Actions

Feature #10057

closed

[PATCH] Add tests for Matrix class.

Added by gogotanaka (Kazuki Tanaka) almost 10 years ago. Updated almost 10 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:63809]

Description

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#eigensystem.patch gogotanaka (Kazuki Tanaka), 07/18/2014 05:47 AM
add_test_for_Matrix#lup.patch (644 Bytes) add_test_for_Matrix#lup.patch gogotanaka (Kazuki Tanaka), 07/18/2014 05:47 AM
add_test_for_Matrix#conjugate.patch (775 Bytes) add_test_for_Matrix#conjugate.patch gogotanaka (Kazuki Tanaka), 07/18/2014 05:47 AM
add_test_for_Matrix#real.patch (504 Bytes) add_test_for_Matrix#real.patch gogotanaka (Kazuki Tanaka), 07/18/2014 05:47 AM
add_test_for_Matrix#imaginary.patch (485 Bytes) add_test_for_Matrix#imaginary.patch gogotanaka (Kazuki Tanaka), 07/18/2014 05:47 AM
add_test_for_Matrix#rect.patch (512 Bytes) add_test_for_Matrix#rect.patch gogotanaka (Kazuki Tanaka), 07/18/2014 05:47 AM

Updated by hsbt (Hiroshi SHIBATA) almost 10 years ago

Please split new feature and tests into another issue.

Updated by gogotanaka (Kazuki Tanaka) almost 10 years ago

@ Hiroshi SHIBATA さん

I split patch "reorder_Matrix#real_and_Matrix_imaginary.patch" to https://bugs.ruby-lang.org/issues/10058

How can I delete patch from feature ?

承知致しました.

7つのPATCHの内、"reorder_Matrix#real_and_Matrix_imaginary.patch"

はこちら https://bugs.ruby-lang.org/issues/10058 に切り出させて頂きました.

一度featureに添付したPATCHは削除出来ないのでしょうか.

Updated by hsbt (Hiroshi SHIBATA) almost 10 years ago

  • File deleted (reorder_Matrix#real_and_Matrix_imaginary.patch)

Updated by hsbt (Hiroshi SHIBATA) almost 10 years ago

  • % Done changed from 0 to 100
  • Status changed from Open to Closed

Applied in changeset r46861.


Updated by marcandre (Marc-Andre Lafortune) almost 10 years ago

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.

Updated by gogotanaka (Kazuki Tanaka) almost 10 years ago

@ Hiroshi SHIBATA さん

ファイルの削除や進捗、ステータスのハンドリングありがとうございます.

Thank you for your some supports.

@ Mr. Marc-Andre Lafortune

I don't know that ... ! it's great! Thank you for your kindness!!!

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0