[Pkg] The Trunk: KernelTests-nice.220.mcz

commits at source.squeak.org commits at source.squeak.org
Tue May 22 20:12:18 UTC 2012


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

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

Name: KernelTests-nice.220
Author: nice
Time: 20 May 2012, 10:08:28.133 am
UUID: ce026172-1559-454c-80f4-92f5d33f5f39
Ancestors: KernelTests-nice.219

Change this test (-0.001 printShowingDecimalPlaces: 2) = '-0.00' instead of '0.00' to reflect Kernel-nice.690 feature.

=============== Diff against KernelTests-nice.219 ===============

Item was changed:
  ----- Method: NumberTest>>testPrintShowingDecimalPlaces (in category 'tests') -----
  testPrintShowingDecimalPlaces
  	self assert: (111.2 printShowingDecimalPlaces: 2) = '111.20'.
  	self assert: (111.2 printShowingDecimalPlaces: 0) = '111'.
  	self assert: (111 printShowingDecimalPlaces: 0) = '111'.
  	self assert: (111111111111111 printShowingDecimalPlaces: 2) = '111111111111111.00'.
  	self assert: (10 printShowingDecimalPlaces: 20) ='10.00000000000000000000'.
  	self assert: (0.98 printShowingDecimalPlaces: 2) = '0.98'.
  	self assert: (-0.98 printShowingDecimalPlaces: 2) = '-0.98'.
  	self assert: (2.567 printShowingDecimalPlaces: 2) = '2.57'.
  	self assert: (-2.567 printShowingDecimalPlaces: 2) = '-2.57'.
  	self assert: (0.01 printShowingDecimalPlaces: 2) = '0.01'.
+ 	self assert: (-0.001 printShowingDecimalPlaces: 2) = '-0.00'.!
- 	self assert: (-0.001 printShowingDecimalPlaces: 2) = '0.00'.!



More information about the Packages mailing list