diff options
Diffstat (limited to 'spec/ruby/library/bigdecimal/double_fig_spec.rb')
-rw-r--r-- | spec/ruby/library/bigdecimal/double_fig_spec.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/ruby/library/bigdecimal/double_fig_spec.rb b/spec/ruby/library/bigdecimal/double_fig_spec.rb new file mode 100644 index 0000000000..3ab5c2f207 --- /dev/null +++ b/spec/ruby/library/bigdecimal/double_fig_spec.rb @@ -0,0 +1,9 @@ +require File.expand_path('../../../spec_helper', __FILE__) +require 'bigdecimal' + +describe "BigDecimal.double_fig" do + # The result depends on the CPU and OS + it "returns the number of digits a Float number is allowed to have" do + BigDecimal.double_fig.should_not == nil + end +end |