Skip to content

Commit d64a1bd

Browse files
test: changed the test data to cos(pi/3) + i sin(pi/3).
1 parent 7abf584 commit d64a1bd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -658,8 +658,8 @@ PMComplexNumberTest >> testRaisedToInteger [
658658
{ #category : #'testing - mathematical functions' }
659659
PMComplexNumberTest >> testRaisedToNegativeInteger [
660660
| z |
661-
z := (3 sqrt / 2) + (1 / 2) i.
662-
self assert: (z raisedTo: -3) closeTo: (0 - 1 i).
661+
z := (1 / 2) + (3 sqrt / 2) i.
662+
self assert: (z raisedTo: -3) closeTo: (-1 + 0 i).
663663
]
664664

665665
{ #category : #'testing - mathematical functions' }

0 commit comments

Comments
 (0)