#! /usr/bin/env python # def polyomino_enumerate_test ( ): #*****************************************************************************80 # ## POLYOMINO_ENUMERATE_TEST tests the POLYOMINO_ENUMERATE library. # # Licensing: # # This code is distributed under the GNU LGPL license. # # Modified: # # 18 May 2018 # # Author: # # John Burkardt # import platform from polyomino_enumerate_chiral import polyomino_enumerate_chiral_test from polyomino_enumerate_fixed import polyomino_enumerate_fixed_test from polyomino_enumerate_free import polyomino_enumerate_free_test print ( '' ) print ( 'POLYOMINO_ENUMERATE_TEST:' ) print ( ' Python version: %s' % ( platform.python_version ( ) ) ) print ( ' POLYOMINO_ENUMERATE counts various kinds of polyominoes.' ) polyomino_enumerate_chiral_test ( ) polyomino_enumerate_fixed_test ( ) polyomino_enumerate_free_test ( ) # # Terminate. # print ( '' ) print ( 'POLYOMINO_ENUMERATE_TEST:' ) print ( ' Normal end of execution.' ) return if ( __name__ == '__main__' ): from timestamp import timestamp timestamp ( ) polyomino_enumerate_test ( ) timestamp ( )