Skip to content

Commit 7149121

Browse files
committed
Cut dependency between Math-Tests-Matrix and Math-Complex
1 parent d4c068e commit 7149121

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

src/Math-Tests-Complex/PMComplexNumberTest.class.st

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,18 @@ PMComplexNumberTest >> testIsRealOnComplexVector [
446446
self deny: vector isReal
447447
]
448448

449+
{ #category : #tests }
450+
PMComplexNumberTest >> testIsRealOnRealMatrix [
451+
452+
| matrix |
453+
matrix := PMMatrix rows: #(
454+
#( 1 3 0 )
455+
#( 1 2 -4 )
456+
#( -8 5 -1 ) ).
457+
458+
self assert: matrix isReal
459+
]
460+
449461
{ #category : #tests }
450462
PMComplexNumberTest >> testIsRealOnRealVector [
451463

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

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -252,18 +252,6 @@ PMMatrixTest >> testInverseSingularMatrixError [
252252
raise: PMSingularMatrixError.
253253
]
254254

255-
{ #category : #tests }
256-
PMMatrixTest >> testIsRealOnRealMatrix [
257-
| matrix |
258-
259-
matrix := PMMatrix rows: #(
260-
(1 3 0)
261-
(1 2 -4)
262-
(-8 5 -1)).
263-
264-
self assert: matrix isReal.
265-
]
266-
267255
{ #category : #tests }
268256
PMMatrixTest >> testLUPDecomposition [
269257
"Code Example 8.10"

0 commit comments

Comments
 (0)