From e643691c9e58f0630f50da31fc14dd666688c982 Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Mon, 20 Feb 2023 12:45:35 +0100 Subject: [PATCH] We don't want Math-Tests-Complex to depend on Math-Tests-Matrix --- src/Math-Tests-Complex/PMComplexNumberTest.class.st | 12 ++++++++++++ src/Math-Tests-Complex/PMMatrixTest.extension.st | 13 ------------- 2 files changed, 12 insertions(+), 13 deletions(-) delete mode 100644 src/Math-Tests-Complex/PMMatrixTest.extension.st diff --git a/src/Math-Tests-Complex/PMComplexNumberTest.class.st b/src/Math-Tests-Complex/PMComplexNumberTest.class.st index e7d9c779..9ee14420 100644 --- a/src/Math-Tests-Complex/PMComplexNumberTest.class.st +++ b/src/Math-Tests-Complex/PMComplexNumberTest.class.st @@ -438,6 +438,18 @@ PMComplexNumberTest >> testIsRealNumberOnReal [ self assert: 0.5 isRealNumber ] +{ #category : #tests } +PMComplexNumberTest >> testIsRealOnComplexMatrix [ + | matrix | + + matrix := PMMatrix rows: { + { 1 . 3 + 4i . 0 } . + { 1 - 2i . 2 . -4 } . + { -8 + 0i . 5 . -1 } }. + + self deny: matrix isReal +] + { #category : #tests } PMComplexNumberTest >> testIsRealOnComplexVector [ diff --git a/src/Math-Tests-Complex/PMMatrixTest.extension.st b/src/Math-Tests-Complex/PMMatrixTest.extension.st deleted file mode 100644 index 44c64fd4..00000000 --- a/src/Math-Tests-Complex/PMMatrixTest.extension.st +++ /dev/null @@ -1,13 +0,0 @@ -Extension { #name : #PMMatrixTest } - -{ #category : #'*Math-Tests-Complex' } -PMMatrixTest >> testIsRealOnComplexMatrix [ - | matrix | - - matrix := PMMatrix rows: { - { 1 . 3 + 4i . 0 } . - { 1 - 2i . 2 . -4 } . - { -8 + 0i . 5 . -1 } }. - - self deny: matrix isReal. -]