RegressionTests__CESequenceableCollectionExtensionTest.st
author sr
Wed, 18 Oct 2017 11:14:29 +0200
changeset 1867 fe4485bf8ffd
parent 1447 2351db93aa5b
permissions -rw-r--r--
#BUGFIX by sr class: RegressionTests::RxTests class definition added:174 methods class: RegressionTests::RxTests class added: #documentation #version #version_CVS

"{ 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$'
! !