RegressionTests__CESequenceableCollectionExtensionTest.st
author Patrik Svestka <patrik.svestka@gmail.com>
Wed, 20 Oct 2021 13:26:34 +0200
branchjv
changeset 2604 d6d5dfaa3e00
parent 1447 2351db93aa5b
permissions -rwxr-xr-x
Adding tests for creating processes on MS Windows Testing: - correct execution of CreateProcessW() - Too long arguments for dir name, command path, command line

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