Sha256: e9bab2e7af5e89d6436bbc6ca83f7c5de1342a9fe454dc6932d442df60bf3378
Contents?: true
Size: 414 Bytes
Versions: 8
Compression:
Stored size: 414 Bytes
Contents
describe "NSIndexPathWrap" do before do @index = NSIndexPath.indexPathForRow(0, inSection:3) end it "should support #+ and #-" do @index = @index + 1 @index.row.should == 1 @index = @index + 1 @index.row.should == 2 @index = @index + 12 @index.row.should == 14 @index = @index - 3 @index.row.should == 11 @index = @index - 0 @index.row.should == 11 end end
Version data entries
8 entries across 8 versions & 1 rubygems