Sha256: 8b1c8110a21f174aeab0ddcd280f29598efcb45108211beebb689e9cb2031be1
Contents?: true
Size: 980 Bytes
Versions: 27
Compression:
Stored size: 980 Bytes
Contents
# # rhoruby_spec.rb # rhodes # # Copyright (C) 2008 Rhomobile, Inc. All rights reserved. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # require 'spec/spec_helper' describe "RhoRuby" do it "should compute string to_f to test flt_rounds" do "100.250".to_f.should == 100.25 end it "should compute == on float to test flt_rounds" do 1.0.should == 1 end end
Version data entries
27 entries across 27 versions & 2 rubygems