[Pkg] The Trunk: Kernel-nice.671.mcz

commits at source.squeak.org commits at source.squeak.org
Sat Mar 3 14:21:35 UTC 2012


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

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

Name: Kernel-nice.671
Author: nice
Time: 3 March 2012, 3:20:12.779 pm
UUID: 8b75db5b-1aab-4de9-87e1-75c3fb99e976
Ancestors: Kernel-eem.670

Remove Random>>theItsCompletelyBrokenTest
Replace it with a RandomTest.

=============== Diff against Kernel-eem.670 ===============

Item was removed:
- ----- Method: Random class>>theItsCompletelyBrokenTest (in category 'testing') -----
- theItsCompletelyBrokenTest
- 	"Random theItsCompletelyBrokenTest"
- 	"The above should print as...
- 	(0.149243269650845 0.331633021743797 0.75619644800024 0.393701540023881 0.941783181364547 0.549929193942775 0.659962596213428 0.991354559078512 0.696074432551896 0.922987899707159 )
- 	If they are not these values (accounting for precision of printing) then something is horribly wrong: DO NOT USE THIS CODE FOR ANYTHING. "
- 	| rng |
- 	rng := Random new.
- 	rng seed: 2345678901.
- 	^ (1 to: 10) collect: [:i | rng next]!



More information about the Packages mailing list