RegressionTests__CESequenceableCollectionExtensionTest.st
author Stefan Vogel <sv@exept.de>
Fri, 11 May 2018 13:51:31 +0200
changeset 1928 a7e400e70e65
parent 1447 2351db93aa5b
permissions -rw-r--r--
#BUGFIX by stefan class: RegressionTests::CompilerTests2 comment/format in: #method_argAndVarNames_02 changed: #test_external_function_call_01a #test_external_function_call_01b #test_external_function_call_01c class: RegressionTests::CompilerTests2 class added: #libraryName

"{ Package: 'stx:goodies/regression' }"

"{ NameSpace: RegressionTests }"

TestCase subclass:#CESequenceableCollectionExtensionTest
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'tests-Regression-CollectionExtensions'
!


!CESequenceableCollectionExtensionTest methodsFor:'tests'!

testPairsSimilarityWith
	
	self assert: ('1234' pairsSimilarityWith: '2234') equals: (2/3).
	self assert: ('1234' pairsSimilarityWith: '123') equals: (4/5).
	self assert: ('1234' pairsSimilarityWith: '5678') equals: 0
! !

!CESequenceableCollectionExtensionTest class methodsFor:'documentation'!

version
    ^ '$Header$'
!

version_CVS
    ^ '$Header$'
! !