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 7abf584 commit d64a1bdCopy full SHA for d64a1bd
1 file changed
src/Math-Tests-Complex/PMComplexNumberTest.class.st
@@ -658,8 +658,8 @@ PMComplexNumberTest >> testRaisedToInteger [
658
{ #category : #'testing - mathematical functions' }
659
PMComplexNumberTest >> testRaisedToNegativeInteger [
660
| z |
661
- z := (3 sqrt / 2) + (1 / 2) i.
662
- self assert: (z raisedTo: -3) closeTo: (0 - 1 i).
+ z := (1 / 2) + (3 sqrt / 2) i.
+ self assert: (z raisedTo: -3) closeTo: (-1 + 0 i).
663
]
664
665
0 commit comments