mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to ruby/spec@0c5c5c1
This commit is contained in:
parent
c67934b1c3
commit
91f5a8db59
1 changed files with 3 additions and 7 deletions
|
@ -9,13 +9,9 @@ describe "BigDecimal constants" do
|
||||||
end
|
end
|
||||||
|
|
||||||
it "has a BASE value" do
|
it "has a BASE value" do
|
||||||
platform_is wordsize: 64 do
|
# The actual one is decided based on HAVE_INT64_T in MRI,
|
||||||
BigDecimal::BASE.should == 1000000000
|
# which is hard to check here.
|
||||||
end
|
[10000, 1000000000].should include(BigDecimal::BASE)
|
||||||
|
|
||||||
platform_is wordsize: 32 do
|
|
||||||
BigDecimal::BASE.should == 10000
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
it "has a NaN value" do
|
it "has a NaN value" do
|
||||||
|
|
Loading…
Add table
Reference in a new issue