diff options
Diffstat (limited to 'spec/ruby/shared/rational/to_f.rb')
| -rw-r--r-- | spec/ruby/shared/rational/to_f.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/spec/ruby/shared/rational/to_f.rb b/spec/ruby/shared/rational/to_f.rb deleted file mode 100644 index 56e0b61d68..0000000000 --- a/spec/ruby/shared/rational/to_f.rb +++ /dev/null @@ -1,10 +0,0 @@ -require_relative '../../spec_helper' - -describe :rational_to_f, shared: true do - it "returns self converted to a Float" do - Rational(3, 4).to_f.should eql(0.75) - Rational(3, -4).to_f.should eql(-0.75) - Rational(-1, 4).to_f.should eql(-0.25) - Rational(-1, -4).to_f.should eql(0.25) - end -end |
