aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_cmath.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add frozen_string_literal: false for all filesnaruse2015-12-161-0/+1
| | | | | | When you change this to true, you may need to add more tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/test_cmath.rb: Adding parens to suppress warnings.gogotanaka2015-06-131-24/+24
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/test_cmath.rb (TestCMath#test_trigonometric_functions): shouldusa2015-06-111-6/+6
| | | | | | | not compare float values (in complex values) by `==`. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/test_cmath.rb: Add assertions for trigonometric functions.gogotanaka2015-06-101-5/+25
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/test_cmath.rb: Add assertions for error handling.gogotanaka2015-06-101-0/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Move test cases from test/ruby/test_complex.rb to test/test_cmath.rbgogotanaka2015-06-061-4/+35
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Rerefix test introduced by r32307.naruse2011-06-301-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Refix test introduced by r32307.naruse2011-06-301-3/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix test introduced by r32307.naruse2011-06-301-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cmath.rb (CMath.log): second argument: b can be nil.naruse2011-06-291-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cmath.rb (CMath.cbrt): returns the principal value of the cubemrkn2011-06-131-0/+4
| | | | | | | | root of the argument. fix #3676 * test/test_cmath.rb (test_cbrt_returns_principal_value_of_cube_root): test for the above change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cmath.rb (CMath.sqrt): use floating-point value. [ruby-core:31672] ↵mrkn2010-08-111-0/+8
[Bug #3678] * test/test_cmath.rb: added for testing lib/cmath.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e