blob: 6677556cd964ea68b890949ae4d3ebdabb8cf9e9 (
plain)
1
2
3
4
5
6
7
8
9
|
require_relative '../../spec_helper'
describe "Float#to_f" do
it "returns self" do
-500.3.to_f.should == -500.3
267.51.to_f.should == 267.51
1.1412.to_f.should == 1.1412
end
end
|