[squeak-dev] The Inbox: CollectionsTests-mt.309.mcz
commits at source.squeak.org
commits at source.squeak.org
Mon May 13 07:47:14 UTC 2019
A new version of CollectionsTests was added to project The Inbox:
http://source.squeak.org/inbox/CollectionsTests-mt.309.mcz
==================== Summary ====================
Name: CollectionsTests-mt.309
Author: mt
Time: 13 May 2019, 9:47:17.18801 am
UUID: 9c8aae8c-fcea-3440-967b-50b2fa72a277
Ancestors: CollectionsTests-nice.308
Tests for Collections-mt.833.
=============== Diff against CollectionsTests-nice.308 ===============
Item was added:
+ ----- Method: CollectionTest>>testAny (in category 'tests') -----
+ testAny
+
+ self
+ assert: #(1 2) equals: (#(1 2 3 4) any: 2);
+ assert: #(1 2 3 4) equals: (#(1 2 3 4) any: 4);
+ should: [#(1 2 3 4) any: 5] raise: Error.!
Item was added:
+ ----- Method: CollectionTest>>testAnyAs (in category 'tests') -----
+ testAnyAs
+
+ self
+ assert: ((#(1 2 3 4) any: 2 as: OrderedCollection) isKindOf: OrderedCollection);
+ assert: ((#(1 1 2 3 4) any: 2 as: Set) isKindOf: Set);
+ assert: 1 equals: (#(1 1 1 1) any: 3 as: Set) size.!
Item was added:
+ ----- Method: CollectionTest>>testTake (in category 'tests') -----
+ testTake
+
+ self
+ assert: #(1 2) equals: (#(1 2 3 4) take: 2);
+ assert: #(1 2) equals: (#(1 2) take: 5).!
More information about the Squeak-dev
mailing list
|