From 299df8fb12e80237fe5076d595159d5b14dba0bd Mon Sep 17 00:00:00 2001 From: Watson Date: Tue, 19 Nov 2013 22:29:19 +0900 Subject: [PATCH] update fixfloat spec Related to https://github.com/lrz/RubyMotionVM/commit/34cb54244225b1bfcea89fc505ba8debfca31846 reduce test range because float values (not fixfloat) are mixied by increasing precision of float. --- test/test/spec/float_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test/spec/float_spec.rb b/test/test/spec/float_spec.rb index 386978a4..1056ada4 100644 --- a/test/test/spec/float_spec.rb +++ b/test/test/spec/float_spec.rb @@ -72,7 +72,7 @@ describe "Float" do end it "fixfloat" do - 0.1.step(100.0, 0.1) do |f| + 0.1.step(30.0, 0.1) do |f| f.__fixfloat__?.should == true end end