mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
add a test for [ruby-dev:34553].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
577cb7c53c
commit
3943e48fcc
1 changed files with 1 additions and 0 deletions
|
@ -236,6 +236,7 @@ class TestBignum < Test::Unit::TestCase
|
|||
def test_div
|
||||
assert_equal(T32.to_f, T32 / 1.0)
|
||||
assert_raise(TypeError) { T32 / "foo" }
|
||||
assert_equal(0x20000000, 0x40000001.div(2.0), "[ruby-dev:34553]")
|
||||
end
|
||||
|
||||
def test_idiv
|
||||
|
|
Loading…
Reference in a new issue