Help for this page

Select Code to Download


  1. or download this
    Property {
      ##[ x <- Int #]##
      square( $x ) == $x * $x;
    }, name => "Finding \$x's square";
    
  2. or download this
    use Test::Differences;
    Property {
    ...
    
      eq_or_diff( \@result, \@expected );
    }, name => "Transmogrifer parameters ok";