function mm_to_hb_test ( )

%*****************************************************************************80
%
%% mm_to_hb_test() tests mm_to_hb().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    04 January 2020
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../mm_to_hb' );

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

  mm_file = 'wathen_29_29_adg.mm';
  hb_file = 'wathen_29_29_adg.hb';

  fprintf ( 1, '\n' );
  fprintf ( 1, '  MM file to be converted is "%s"\n', mm_file );
  fprintf ( 1, '  HB file to be created is "%s"\n', hb_file );

  mm_to_hb ( mm_file, hb_file );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'mm_to_hb_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../mm_to_hb' );

  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

