spec/cg_point_spec.rb in geomotion-0.13.1 vs spec/cg_point_spec.rb in geomotion-0.13.2

- old
+ new

@@ -82,9 +82,14 @@ it "should work with CGPoint" do point = CGPoint.make(x: 100, y: 200) (@point + point).should == CGPointMake(110, 220) end + + it "should work with CGRect" do + point = CGRect.make(x: 100, y: 200, width: 50, height: 50) + (@point + point).should == CGRectMake(110, 220, 50, 50) + end end describe "#*" do it "should work with Numeric" do point = CGPointMake(12, 24) \ No newline at end of file