]> src.bluestatic.org Git - isso.git/commit
Do not allow random() to take an array of high or low, just an optional fixed length...
authorRobert Sesek <rsesek@bluestatic.org>
Thu, 24 Jan 2008 16:24:51 +0000 (11:24 -0500)
committerRobert Sesek <rsesek@bluestatic.org>
Thu, 24 Jan 2008 16:24:51 +0000 (11:24 -0500)
commit222db6da2ed56bd656b593331cbf26569a8c54e3
treed88aed752be9dc600a2bc10ef91548584159e6ed
parentef24069ebf87dcd4a7b1b2239fafd09bb28d00b5
Do not allow random() to take an array of high or low, just an optional fixed length (otherwise it will randomly select one)

* Functions.php:
(BSFunctions::random): Do not accept an Array as a parameter, just an optional int
* UnitTest/FunctionsTest.php:
(FunctionsTest::testRandom): Test using a fixed length as well as the random length
Functions.php
UnitTest/FunctionsTest.php