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 ede673d commit baaa8a3Copy full SHA for baaa8a3
1 file changed
src/Math-Tests-Complex/PMComplexNumberTest.class.st
@@ -206,7 +206,11 @@ PMComplexNumberTest >> testArgumentOfPureNegativeImaginaryNumber [
206
207
{ #category : #'testing - bugs' }
208
PMComplexNumberTest >> testBug1 [
209
- self assert: (0.5 * (2 + 0 i) ln) exp equals: (0.5 * 2 ln) exp
+ | logOfRootTwo logRootTwo |
210
+ logOfRootTwo := (0.5 * (2 + 0 i) ln).
211
+ self assert: logOfRootTwo exp closeTo: 2 sqrt + 0.0 i.
212
+ logRootTwo := (0.5 * 2 ln).
213
+ self assert: logOfRootTwo exp equals: logRootTwo exp
214
]
215
216
{ #category : #'testing - close to' }
0 commit comments