function ncm_test ( )

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

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

  bslashtx_test ( );
  crypto_test ( );
  digraph_ncm_test ( );
  encrypt_test ( );
  ffttx_test ( );
  fibnum_test ( );
  fibonacci_test ( );
  finitefern_test ( );
  fmintx_test ( );
  fzerotx_test ( );
  goldfract_test ( );
  goldrect_test ( );
  golub_test ( );
  humps_test ( );
  inregion_test ( );
  lutx_test ( );
  ncmlogo_test ( );
  ode23tx_test ( );
  pagerankpow_test ( );
  pchiptx_test ( );
  piecelin_test ( );
  polyinterp_test ( );
  primespiral_test ( );
  quadtx_test ( );
  randmcg_test ( );
  randntx_test ( );
  splinetx_test ( );
  sunspotstx_test ( );
  tridisolve_test ( );
  vandal_test ( );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'ncm_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../ncm' );

  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

