mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-21 19:43:03 +08:00
add core/float/hash spec
This commit is contained in:
9
test/test-android/app/core/float/hash_spec.rb
Normal file
9
test/test-android/app/core/float/hash_spec.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
describe "Float#hash" do
|
||||
it "is provided" do
|
||||
0.0.respond_to?(:hash).should == true
|
||||
end
|
||||
|
||||
it "is stable" do
|
||||
1.0.hash.should == 1.0.hash
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user