function st_to_hb_test ( )

%*****************************************************************************80
%
%% st_to_hb_test() tests st_to_hb().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    02 November 2008
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../st_to_hb' );

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'st_to_hb_test()\n' );
  fprintf ( 1, '  MATLAB/Octave version %s\n', version ( ) );
  fprintf ( 1, '  Test st_to_hb().\n' );

  st_to_hb_test01 ( );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'st_to_hb_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../st_to_hb' );

  return
end
function st_to_hb_test01 ( )

%*****************************************************************************80
%
%% ST_TO_HB_TEST01 tests ST_TO_HB.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    02 November 2008
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'ST_TO_HB_TEST01\n' );
  fprintf ( 1, '  Use ST_TO_HB to read an ST file,\n' );
  fprintf ( 1, '  and write an equivalent HB file.\n' );

  input_file = 'st_to_hb_test01.st';
  output_file = 'st_to_hb_test01.hb';

  st_to_hb ( input_file, output_file );

  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
