[Pkg] The Trunk: HelpSystem-Tests-ul.19.mcz
commits at source.squeak.org
commits at source.squeak.org
Mon Mar 13 14:45:19 UTC 2017
Levente Uzonyi uploaded a new version of HelpSystem-Tests to project The Trunk:
http://source.squeak.org/trunk/HelpSystem-Tests-ul.19.mcz
==================== Summary ====================
Name: HelpSystem-Tests-ul.19
Author: ul
Time: 13 March 2017, 5:06:57.818545 am
UUID: 5185a473-d078-4416-8383-e3ef64e78e9d
Ancestors: HelpSystem-Tests-ul.18
SortedCollection Whack-a-mole
=============== Diff against HelpSystem-Tests-ul.18 ===============
Item was changed:
----- Method: HelpTopicTest>>testSortOrder (in category 'testing') -----
testSortOrder
|a b c sorted |
a := self defaultTestClass named: 'A'.
b := self defaultTestClass named: 'B'.
c := self defaultTestClass named: 'C'.
+ sorted := (OrderedCollection with: b with: c with: a) sort.
- sorted := (OrderedCollection with: b with: c with: a) asSortedCollection.
self assert: sorted first = a.
self assert: sorted last = c.
!
More information about the Packages
mailing list