Language::Befunge::IP::lib::TEST - a Befunge 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.
Pop a value and a message off the TOSS.
If the value is zero, outputs a
not ok, otherwise a
Pop two values and a message off the TOSS.
If the two values are equel, the test passes, otherwise it fails.
Philippe Bruhat (BooK) -
Copyright 2008 Philippe Bruhat (BooK), All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.