[squeak-dev] The Trunk: Tests-topa.322.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Jun 25 08:49:09 UTC 2015


Tobias Pape uploaded a new version of Tests to project The Trunk:
http://source.squeak.org/trunk/Tests-topa.322.mcz

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

Name: Tests-topa.322
Author: topa
Time: 25 June 2015, 10:48:51.189 am
UUID: 316824e1-862e-45bc-9eac-efb092c6d6ae
Ancestors: Tests-topa.321

More sanity tests

=============== Diff against Tests-topa.321 ===============

Item was added:
+ ----- Method: DataStreamTest>>testLargeIntergers (in category 'tests') -----
+ testLargeIntergers
+ 	| i |
+ 	i := 123456789012345678901234567890.
+ 	self assert: i equals: (self testObject: i) description: 'A large positive integer should be serializable'.
+ 	
+ 	i := -123456789012345678901234567890.
+ 	self assert: i equals: (self testObject: i) description: 'A large negative integer should be serializable'!

Item was added:
+ ----- Method: DataStreamTest>>testNotTooLargeIntergers (in category 'tests') -----
+ testNotTooLargeIntergers
+ 	| i |
+ 	i := 1234567890123.
+ 	self assert: i equals: (self testObject: i) description: 'A larger, but not too large positive integer should be serializable'.
+ 	
+ 	i := -1234567890123.
+ 	self assert: i equals: (self testObject: i) description: 'A  larger, but not too large negative integer should be serializable'!



More information about the Squeak-dev mailing list