We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 157bdc0 commit f368ccaCopy full SHA for f368cca
src/Math-Tests-Complex/PMComplexTest.class.st
@@ -775,6 +775,11 @@ PMComplexTest >> testWeCanWriteComplexNumbersWhoseRealAndImaginaryPartsAreFracti
775
self assert: (z imaginary) equals: (Fraction numerator: 4 denominator: 5).
776
]
777
778
+{ #category : #'testing - arithmetic' }
779
+PMComplexTest >> testWeCannotTakeReciprocalOfZeroComplexNumbers [
780
+ self should: [ PMComplex zero reciprocal ] raise: ZeroDivide.
781
+]
782
+
783
{ #category : #'testing - expressing complex numbers' }
784
PMComplexTest >> testWeCannotWriteFractionsOfComplexNumbersWithDenominatorNormalized [
785
0 commit comments