The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Language::Befunge::lib::TEST - extension to run tests

VERSION

version 5.000

SYNOPSIS

    P - plan
    O - ok
    I - is

DESCRIPTION

This extension provide a way for Befunge test programs to easily produce valid TAP output.

FUNCTIONS

new

Create a new TEST instance.

P

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).

O

Pop a value and a message off the TOSS.

If the value is zero, outputs a not ok, otherwise a ok.

I

Pop two values and a message off the TOSS.

If the two values are equel, the test passes, otherwise it fails.

AUTHOR

Jerome Quelin

COPYRIGHT AND LICENSE

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.