mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-01 17:39:54 +08:00
add specs for Bignum/NSNumber conversions
This commit is contained in:
6
test/spec/nsnumber_spec.rb
Normal file
6
test/spec/nsnumber_spec.rb
Normal file
@@ -0,0 +1,6 @@
|
||||
describe "Bignums" do
|
||||
it "can be converted into NSNumber with 'long long' type" do
|
||||
num = 1346543403000
|
||||
NSNumber.numberWithLongLong(num).longLongValue.should == num
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user