Help for this page

Select Code to Download


  1. or download this
    # tgol.t - Simple blinker test of Conway Game of Life Organism class
    use strict;
    ...
       $org->tick();
       test_one( $org, "blinker $i", $i % 2 ? \@sblinker2 : \@sblinker1 );
    }
    
  2. or download this
    prove tgol.t
    
  3. or download this
    #   Failed test 'initial cell count (11)'
    #   at tgol.t line 17.
    ...
    #          $got->[0][1] = '99'
    #     $expected->[0][1] = '-101'
    # Looks like you failed 18 tests of 18.