Language::Befunge::lib::TEST - extension to run tests
P - plan
O - ok
I - is
This extension provide a way for Befunge test programs to easily produce valid TAP output.
Create a new TEST instance.
Pops a number off the TOSS, and use it for the plan.
If the number is zero, then the number of tests run is listed at the end of the test script (i.e. no_plan).
Pop a value and a message off the TOSS.
If the value is zero, outputs a not ok, otherwise a ok.
Pop two values and a message off the TOSS.
If the two values are equel, the test passes, otherwise it fails.
This software is copyright (c) 2003 by Jerome Quelin.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Language::Befunge, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.