RegressionTests__CESequenceableCollectionExtensionTest.st
author Claus Gittinger <cg@exept.de>
Sun, 17 Mar 2019 01:12:49 +0100
changeset 2106 288fa2469be2
parent 1447 2351db93aa5b
permissions -rw-r--r--
#REFACTORING by cg class: RegressionTests::CRCTests added: #test02_crc32c #test03_crc16 removed: #test01_crc32c

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