The Trunk: CollectionsTests-nice.178.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: CollectionsTests-nice.178.mcz

commits-2
Nicolas Cellier uploaded a new version of CollectionsTests to project The Trunk:
http://source.squeak.org/trunk/CollectionsTests-nice.178.mcz

==================== Summary ====================

Name: CollectionsTests-nice.178
Author: nice
Time: 29 December 2010, 3:51:12.599 pm
UUID: d84311fa-3a9c-4fa6-b0b4-10927f21f3f1
Ancestors: CollectionsTests-ul.177

Test integer equality with = rather than ==

=============== Diff against CollectionsTests-ul.177 ===============

Item was changed:
  ----- Method: IntervalTest>>testPermutationsDo (in category 'tests') -----
  testPermutationsDo
 
  | i oc |
  i := (1.234 to: 4.234).
  oc := OrderedCollection new.
  i permutationsDo: [:e | oc add: e].
+ self assert: (oc size = i size factorial).
- self assert: (oc size == i size factorial).
  ^ oc!