function trig_interp_basis_test ( )

%*****************************************************************************80
%
%% trig_interp_basis_test() tests trig_interp_basis().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    20 October 2022
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../trig_interp_basis' )

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

  k = [ 1, 2, 3, 4, 5, 6 ];
  filename = 'trig_interp_basis.png'
  trig_interp_basis_display ( k, filename );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'trig_interp_basis_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../trig_interp_basis' )

  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

