Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
add related test
Niark


Unniark
  • Loading branch information
VincentBlondeau committed May 15, 2018
1 parent 67cce1b commit a788791
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitattributes
@@ -0,0 +1,3 @@
# Bash needs lf even on windows/cygwin
*.st eol=lf
*.sh eol=lf
9 changes: 9 additions & 0 deletions src/Collections-Tests/OrderedDictionaryTest.class.st
Expand Up @@ -1357,6 +1357,15 @@ OrderedDictionaryTest >> testSize [
self assert: dictionary size equals: (i - 1)].
]

{ #category : #tests }
OrderedDictionaryTest >> testStoreOn [
| print |
print := String streamContents: [ :s | self dictionaryWithOrderedAssociations storeOn: s ].
self assert: (Compiler evaluate: print) equals: self dictionaryWithOrderedAssociations.
print := String streamContents: [ :s | self emptyDictionary storeOn: s ].
self assert: (Compiler evaluate: print) equals: self emptyDictionary
]

{ #category : #tests }
OrderedDictionaryTest >> testValues [
| dictionary |
Expand Down

0 comments on commit a788791

Please sign in to comment.