add core/fixnum/size spec

This commit is contained in:
Laurent Sansonetti
2014-04-18 23:47:43 +02:00
parent 8225808278
commit 862b6b0d4e

View File

@@ -0,0 +1,7 @@
describe "Fixnum#size" do
it "returns the number of bytes in the machine representation of self" do
-1.size.should == 4
0.size.should == 4
4091.size.should == 4
end
end