test/geometry/point_one.rb in geometry-6.5 vs test/geometry/point_one.rb in geometry-6.6
- old
+ new
@@ -124,10 +124,10 @@
(one + Size[5,6]).must_equal Point[6,7]
end
describe 'when subtracting' do
it 'must subtract a number' do
- (one - 3).must_equal -2
+ (one - 3).must_equal(-2)
(3 - one).must_equal 2
end
it 'return a Point when subtracting two Points' do
(one - right).must_equal Point[-2, -3]