Skip to content

Commit 4fd471a

Browse files
Simplifed what appears to be a data-driven test.
1 parent c287f90 commit 4fd471a

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

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

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,11 @@ PMQRTest >> testMoorePenroseInverseOfProductOfMatrices [
5858
]
5959

6060
{ #category : #tests }
61-
PMQRTest >> testMoorePenroseInverseRepeatedly [
61+
PMQRTest >> testMoorePenroseInverseOfRandomMatrix [
6262

6363
| a |
64-
3 timesRepeat: [
65-
a := PMMatrix rows: 3 columns: 3 random: 1.0.
66-
self assert: (a mpInverse closeTo: a inverse).
67-
a := PMSymmetricMatrix new: 4 random: 1.0.
68-
self assert: (a mpInverse closeTo: a inverse) ]
64+
a := PMSymmetricMatrix new: 4 random: 1.0.
65+
self assert: (a mpInverse closeTo: a inverse)
6966
]
7067

7168
{ #category : #tests }

0 commit comments

Comments
 (0)