#! /usr/bin/env python # def pentominoes_test ( ): #*****************************************************************************80 # ## PENTOMINOES_TEST tests the PENTOMINOES library. # # Licensing: # # This code is distributed under the GNU LGPL license. # # Modified: # # 18 April 2018 # # Author: # # John Burkardt # import platform from cell_ij_fill import cell_ij_fill_test from pentomino_display import pentomino_display_test from pentomino_matrix import pentomino_matrix_test print ( '' ) print ( 'PENTOMINOES_TEST' ) print ( ' Python version: %s' % ( platform.python_version ( ) ) ) print ( ' Test the PENTOMINOES library.' ) cell_ij_fill_test ( ) pentomino_matrix_test ( ) pentomino_display_test ( ) # # Terminate. # print ( '' ) print ( 'PENTOMINOES_TEST' ) print ( ' Normal end of execution.' ) return if ( __name__ == '__main__' ): from timestamp import timestamp timestamp ( ) pentominoes_test ( ) timestamp ( )