ruby-numo / numo-linalg

Linear Algebra Library for Ruby/Numo::NArray
BSD 3-Clause "New" or "Revised" License
38 stars 9 forks source link

Add basic tests for Numo::Linalg APIs #15

Closed yoshoku closed 6 years ago

yoshoku commented 6 years ago

Sorry for the many commits. However, this pull request does not change the main codes of the library. I would like to prepare the tests for Numo::Linalg APIs. I updated the gemsepc and Travis CI config file to run RSpec tests. And then I added the RSpec test for each Numo::Linalg API. The commands to run these tests in the local environment is as follows:

$ rake install
$ rspec -f d

These tests are what I have personally used to confirm the basic behavior of Numo::Linalg. And now all the tests are passed. I think that these tests will help refactoring and improvement of Numo::Linalg.