
CPK Smithies - 2013-01-09 23:38:44 -
In reply to message 1 from Darren Conyard
To run the test, you must install the Pear package phpunit. I don't know how this is done under windows, but under Linux you would enter
$ sudo pear install phpunit
Once you have phpunit installed, you execute the command
$ phpunit
from the main class directory, not the tests subdirectory. You cannot execute the test file directly.
The prime.php file does however give a reasonably clear impression of how bitvec is used and this file can be used as indicated in bvt1.php.