smalltalk
/
osmo-st-all
Archived
1
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
osmo-st-all/grease/Tests/Core/GRDictionaryTest.st

28 lines
506 B
Smalltalk

GRAbstractDictionaryTest subclass: GRDictionaryTest [
<comment: nil>
<category: 'Grease-Tests-Core'>
collectionClass [
<category: 'configuration'>
^Dictionary
]
createArbitraryAssociations [
<category: 'configuration'>
^(OrderedCollection new)
add: #c -> 3;
add: #a -> 1;
add: #b -> 2;
add: #e -> 1;
add: #d -> 4;
yourself
]
isKey: anObject equivalentTo: anotherObject [
<category: 'configuration'>
^anObject = anotherObject
]
]