[squeak-dev] The Trunk: KernelTests-ct.408.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Dec 9 10:19:00 UTC 2021


Marcel Taeumel uploaded a new version of KernelTests to project The Trunk:
http://source.squeak.org/trunk/KernelTests-ct.408.mcz

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

Name: KernelTests-ct.408
Author: ct
Time: 27 October 2021, 10:21:00.729233 pm
UUID: 10cb7bb7-b517-774d-a421-d907c2d580e8
Ancestors: KernelTests-mt.407

Tests Kernel-ct.1419 (NumberParser >> #defaultBase:).

=============== Diff against KernelTests-mt.407 ===============

Item was added:
+ ----- Method: SqNumberParserTest>>testBases (in category 'tests - fail') -----
+ testBases
+ 
+ 	self assert: (SqNumberParser parse: '16r20') equals: 32.
+ 	self assert: (SqNumberParser parse: '2r10') equals: 2.
+ 	self assert: ((SqNumberParser on: '10')
+ 		nextIntegerBase: 2) equals: 2.
+ 	self assert: ((SqNumberParser on: '10')
+ 		defaultBase: 2;
+ 		nextNumber) equals: 2.
+ 	self assert: ((SqNumberParser on: '1000r10')
+ 		defaultBase: 2;
+ 		nextNumber) equals: 8.!



More information about the Squeak-dev mailing list