[squeak-dev] The Trunk: CollectionsTests-mt.313.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Jul 11 05:21:21 UTC 2019


Marcel Taeumel uploaded a new version of CollectionsTests to project The Trunk:
http://source.squeak.org/trunk/CollectionsTests-mt.313.mcz

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

Name: CollectionsTests-mt.313
Author: mt
Time: 5 July 2019, 4:55:01.111089 pm
UUID: a8af1eda-b723-2940-8838-912b24df886a
Ancestors: CollectionsTests-pre.312

Adds tests for Collections-mt.839.

=============== Diff against CollectionsTests-pre.312 ===============

Item was added:
+ ----- Method: StringTest>>testFindFeatures (in category 'tests - tokenizing') -----
+ testFindFeatures
+ 
+ 	{
+ 		"input . expected features"
+ 		'camelCase' . #('camel' 'Case').
+ 		'UPPERCase' . #('UPPER' 'Case').
+ 		'MyModel55' . #('My' 'Model' '55'). 
+ 		'5 <= 4' . #('5' '<=' '4').
+ 		'[state := 2]' . #('[' 'state' ':=' '2' ']').
+ 	} pairsDo: [:input :features |
+ 		| output |
+ 		output := features readStream.
+ 		input findFeatureIndicesDo: [:start :end |
+ 			self
+ 				assert: output next
+ 				equals: (input copyFrom: start to: end)]].!



More information about the Squeak-dev mailing list