Nicolas Cellier uploaded a new version of CollectionsTests to project The Trunk: http://source.squeak.org/trunk/CollectionsTests-nice.270.mcz
==================== Summary ====================
Name: CollectionsTests-nice.270 Author: nice Time: 20 October 2016, 10:31:45.375142 pm UUID: d2833ae6-3419-4cf0-b2af-12ee49046e20 Ancestors: CollectionsTests-nice.269
Test Interval reversed and sum
=============== Diff against CollectionsTests-nice.269 ===============
Item was added: + ----- Method: IntervalTest>>testReversed (in category 'tests') ----- + testReversed + self assert: (3 to: 10) reversed = (10 to: 3 by: -1). + self assert: (3 to: 11 by: 4) reversed = (11 to: 3 by: -4). + self assert: (3 to: 12 by: 4) reversed = (11 to: 3 by: -4).!
Item was added: + ----- Method: IntervalTest>>testReversedEmpty (in category 'tests') ----- + testReversedEmpty + self assert: (4 to: 3) reversed = (3 to: 4 by: -1). + self assert: (4 to: 3 by: 5) reversed = (3 to: 4 by: -5).!
Item was added: + ----- Method: IntervalTest>>testSum (in category 'tests') ----- + testSum + 1 to: 10 do: [:i | + | int | + int := -3 to: i-1*5-3 by: 5. + self assert: int asArray sum = int sum. + self assert: int reversed sum = int sum]!
packages@lists.squeakfoundation.org