Perl Makes Testing Easy Perl Testing #20

Creating Tests, cont.

sub hello_world {
    return "Hello, world!";
}
ok( hello_world() eq "Hello, world!" );
Copyright © 2006 Ian Langworth