Marcel Taeumel uploaded a new version of CollectionsTests to project The Trunk:
http://source.squeak.org/trunk/CollectionsTests-mt.234.mcz==================== Summary ====================
Name: CollectionsTests-mt.234
Author: mt
Time: 19 January 2015, 10:15:23.464 am
UUID: 21813c5d-d99c-3b4c-85fe-7b14627f5dd1
Ancestors: CollectionsTests-mt.233
Tests about copying ranges added for OrderedDictionary
=============== Diff against CollectionsTests-mt.233 ===============
Item was added:
+ ----- Method: OrderedDictionaryTest>>testCopyFirst (in category 'tests - accessing') -----
+ testCopyFirst
+
+ 1 to: 10 do: [:ea |
+ sut at: ea put: nil].
+
+ self assert: (1 to: 5) asArray equals: (sut first: 5) keys.!
Item was added:
+ ----- Method: OrderedDictionaryTest>>testCopyFromTo (in category 'tests - copying') -----
+ testCopyFromTo
+
+ 1 to: 10 do: [:index |
+ sut at: index put: nil].
+
+ (sut copyFrom: 3 to: 5) in: [:copy |
+ self assert: (3 to: 5) asArray equals: copy keys.
+ copy at: 3 put: #foo.
+ self assert: (sut at: 3) isNil.].!
Item was added:
+ ----- Method: OrderedDictionaryTest>>testCopyLast (in category 'tests - accessing') -----
+ testCopyLast
+
+ 1 to: 10 do: [:ea |
+ sut at: ea put: nil].
+
+ self assert: (6 to: 10) asArray equals: (sut last: 5) keys.!