From 45bbc54ca2230a17b690f8b95011a046b72dac9c Mon Sep 17 00:00:00 2001 From: Oleksandr Zaitsev Date: Sat, 23 Apr 2022 16:15:47 +0200 Subject: [PATCH] Added two more assertions --- src/Math-Tests-Complex/PMComplexTest.class.st | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Math-Tests-Complex/PMComplexTest.class.st b/src/Math-Tests-Complex/PMComplexTest.class.st index cc86615e..2716e707 100644 --- a/src/Math-Tests-Complex/PMComplexTest.class.st +++ b/src/Math-Tests-Complex/PMComplexTest.class.st @@ -191,6 +191,9 @@ PMComplexTest >> testCloseToReal [ self assert: 2 + 0.000000000000001i closeTo: 2. self assert: 2.000000000000001 + 0.000000000000001i closeTo: 2. + + self assert: 2 + 0i closeTo: 2.000000000000001. + self deny: 2 + 3i closeTo: 2.000000000000001 ] { #category : #'testing - close to' }