Skip to content

Commit 19e3e72

Browse files
committed
replace isKindOf test with equals
1 parent 17e8f72 commit 19e3e72

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/AI-HierarchicalClustering-Tests/AIClusterEngineTest.class.st

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,10 @@ AIClusterEngineTest >> testDendrogram [
120120
{ #category : #test }
121121
AIClusterEngineTest >> testDistanceMatrix [
122122

123-
| input clusty |
124-
input := #(3 11 2 15 1 12).
125-
clusty := AIClusterEngine new distanceMatrix: (AIDistanceSquare on: input).
126-
self assert: (clusty distanceMatrix isKindOf: AIDistanceSquare)
123+
| input clusty |
124+
input := #( 3 11 2 15 1 12 ).
125+
clusty := AIClusterEngine new distanceMatrix: (AIDistanceSquare on: input).
126+
self assert: clusty distanceMatrix equals: (AIDistanceSquare on: input)
127127
]
128128

129129
{ #category : #test }

0 commit comments

Comments
 (0)