[squeak-dev] The Trunk: CollectionsTests-ct.367.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Dec 27 00:22:25 UTC 2021


Christoph Thiede uploaded a new version of CollectionsTests to project The Trunk:
http://source.squeak.org/trunk/CollectionsTests-ct.367.mcz

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

Name: CollectionsTests-ct.367
Author: ct
Time: 27 December 2021, 1:22:23.361181 am
UUID: 8e06f0f4-afb3-4249-82ce-8daa88ef129f
Ancestors: CollectionsTests-tonyg.366

Adds OrderedDictionary to integrity tests.

=============== Diff against CollectionsTests-tonyg.366 ===============

Item was changed:
  ----- Method: DictionaryTest>>testIntegrityOfDictionaries (in category 'tests - integrity') -----
  testIntegrityOfDictionaries
  	#(
  		Dictionary
  		IdentityDictionary
  		SystemDictionary
  		LiteralDictionary
+ 		OrderedDictionary
  		PluggableDictionary
  		WeakValueDictionary) do: [ :dictionaryClassName |
  			Smalltalk at: dictionaryClassName ifPresent: [ :dictionaryClass |
  				dictionaryClass allInstancesDo: [ :dictionary |
  					dictionary keysAndValuesDo: [ :key :value |
  						self assert: (dictionary at: key) == value ].
  					dictionary array withIndexDo: [ :association :index |
  		                        association ifNotNil: [
  	 	                               self assert: (dictionary scanFor: association key) = index ] ] ] ] ]!



More information about the Squeak-dev mailing list