function polyominoes_test ( )

%*****************************************************************************80
%
%% polyominoes_test() tests polyominoes().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    29 May 2022
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../polyominoes' );

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'polyominoes_test():\n' );
  fprintf ( 1, '  MATLAB/Octave version %s.\n', version ( ) );
  fprintf ( 1, '  Test polyominoes().\n' );

  cell_ij_fill_test ( );

  domino_approximate_test ( );

  i4_modp_test ( );
  i4_wrap_test ( );
  i4row_neighbors_test ( );
  i4row_sorted_insert_test ( );
  i4row_sorted_minus_test ( );
  i4row_sorted_search_test ( );
  i4row_take_random_test ( );
  i4vec_compare_test ( );

  pentomino_display_test ( );
  pentomino_matrix_test ( );
  pentomino_name_test ( );
  pentomino_pack_test ( );
  pentomino_print_test ( );

  polyomino_area_test ( );
  polyomino_condense_test ( );
  polyomino_display_test ( );
  polyomino_embed_number_test ( );
  polyomino_embed_list_test ( );
  polyomino_enumerate_chiral_test ( );
  polyomino_enumerate_fixed_test ( );
  polyomino_enumerate_free_test ( );
  polyomino_index_test ( );
  polyomino_lp_write_test ( );
  polyomino_monohedral_test ( );
  polyomino_monohedral_example_domino_test ( );
  polyomino_monohedral_example_reid_test ( );
  polyomino_monohedral_matrix_test ( );
  polyomino_monohedral_tiling_plot_test ( );
  polyomino_monohedral_tiling_print_test ( );
  polyomino_monohedral_variants_test ( );
  polyomino_multihedral_test ( );
  polyomino_multihedral_example_2x4_test ( );
  polyomino_multihedral_example_4x5_test ( );
  polyomino_multihedral_example_octomino_test ( );
  polyomino_multihedral_example_pent18x30_test ( );
  polyomino_multihedral_example_pentomino_test ( );
  polyomino_multihedral_matrix_test ( );
  polyomino_multihedral_tiling_plot_test ( );
  polyomino_multihedral_tiling_print_test ( );
  polyomino_multihedral_variants_test ( );
  polyomino_parity_test ( );
  polyomino_periodic_matrix_test ( );
  polyomino_periodic_variants_test ( );
  polyomino_periodicity_apply_test ( );
  polyomino_random_test ( );
  polyomino_reflect_test ( );
  polyomino_transform_test ( );
  polyominoes_print_test ( );

  rectangle_3x20_plot ( );
  reid_plot ( );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'polyominoes_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../polyominoes' );

  return
end
function timestamp ( )

%*****************************************************************************80
%
%% timestamp() prints the current YMDHMS date as a timestamp.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    14 February 2003
%
%  Author:
%
%    John Burkardt
%
  t = now;
  c = datevec ( t );
  s = datestr ( c, 0 );
  fprintf ( 1, '%s\n', s );

  return
end

