[squeak-dev] The Trunk: KernelTests-nice.403.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Apr 30 20:07:20 UTC 2021


Nicolas Cellier uploaded a new version of KernelTests to project The Trunk:
http://source.squeak.org/trunk/KernelTests-nice.403.mcz

==================== Summary ====================

Name: KernelTests-nice.403
Author: nice
Time: 30 April 2021, 10:07:18.128533 pm
UUID: 6c2a630e-15b7-461c-8bdc-86190918cc71
Ancestors: KernelTests-nice.402

Add two tests for isDenormal and isFinite

=============== Diff against KernelTests-nice.402 ===============

Item was added:
+ ----- Method: FloatTest>>testIsDenormal (in category 'tests - characterization') -----
+ testIsDenormal
+ 	self assert: Float fminNormalized predecessor isDenormal.
+ 	self assert: Float fminDenormalized isDenormal.
+ 	self assert: Float fminDenormalized negated isDenormal.
+ 	
+ 	self deny: Float fminNormalized isDenormal.
+ 	self deny: 0.0 isDenormal.
+ 	self deny: 1.0 isDenormal.
+ 	self deny: Float fmax isDenormal.
+ 	self deny: Float infinity isDenormal.
+ 	self deny: Float negativeInfinity isDenormal.
+ 	self deny: Float nan isDenormal.!

Item was added:
+ ----- Method: FloatTest>>testIsFinite (in category 'tests - characterization') -----
+ testIsFinite
+ 	self assert: Float fminDenormalized isFinite.
+ 	self assert: 0.0 isFinite.
+ 	self assert: Float pi negated isFinite.
+ 	self assert: Float fmax isFinite.
+ 	
+ 	self deny: Float infinity isFinite.
+ 	self deny: Float negativeInfinity isFinite.
+ 	self deny: Float nan isFinite.!



More information about the Squeak-dev mailing list