Skip to content

Commit

Permalink
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions spec/ruby/library/bigdecimal/new_spec.rb
Original file line number Diff line number Diff line change
@@ -18,10 +18,6 @@
}
end

it "doesn't segfault when using a very large string to build the number" do
BigDecimal.new("1" + "0"*10000000)._dump.should == "10000017:0.1E10000001"
end

it "Number of significant digits >= given precision" do
BigDecimal.new("3.1415923", 10).precs[1].should >= 10
end

0 comments on commit 87d7b75

Please sign in to comment.