Skip to content

Commit 83660e7

Browse files
Remove testMatrixCloseTo method from PMMatrixTest
Also remove the same test than in Vector, as the defintion of closeTo was modify since Pharo 13 and this does not make too much sense to test this anymore (if we have no precision).
1 parent 07cba1b commit 83660e7

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/Math-Matrix-Tests/PMMatrixTest.class.st

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -342,13 +342,6 @@ PMMatrixTest >> testMatrixAddSizeMismatch [
342342
self should: [ b transpose + a ] raise: SizeMismatch
343343
]
344344

345-
{ #category : #comparing }
346-
PMMatrixTest >> testMatrixCloseTo [
347-
self assert: ((PMMatrix rows: #(#(1.00001 2.00002) #(3.00001 4.00002))) closeTo: (PMMatrix rows: #(#(1.00002 2.00001) #(3.00002 4.00001)))).
348-
self assert: (PMMatrix rows: #(#(1.00001 2.00002) #(3.00001 4.00002))) closeTo: (PMMatrix rows: #(#(1.00002 2.00001) #(3.00002 4.00001))). "Double check that the TestAsserter >> #assert:closeTo: functions properly here."
349-
self deny: ((PMMatrix rows: #(#(1.00001 2.00004) #(3.00001 4.00004))) closeTo: (PMMatrix rows: #(#(1.00004 2.00001) #(3.00004 4.00001)))).
350-
]
351-
352345
{ #category : #comparing }
353346
PMMatrixTest >> testMatrixCloseToPrecision [
354347
| a b |

0 commit comments

Comments
 (0)