1 2 3 4 5 6 7 8 9 10 11
<?php require "tests.php"; $f = new Foo(); $b = new Bar(); check::equal(spam($f), 1, "foo"); check::equal(spam($b), 2, "bar"); check::done();