function ode_midpoint_system_test ( )

%*****************************************************************************80
%
%% ode_midpoint_system_test() tests ode_midpoint_system().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    01 August 2019
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../ode_midpoint_system' );

  timestamp ( );
  fprintf ( 1, 'ode_midpoint_system_test():\n' );
  fprintf ( 1, '  MATLAB/Octave version %s\n', version ( ) );
  fprintf ( 1, '  ode_midpoint_system() is an interactive program which uses\n' );
  fprintf ( 1, '  the midpoint method to estimate the solution of\n' );
  fprintf ( 1, '  a system of ordinary differential equation (ODE) of the form\n' );
  fprintf ( 1, '    y'' = f(x,y)\n' )
  fprintf ( 1, '  for a <= x <= b, with initial condition y(a)=ya\n' );
  fprintf ( 1, '  using n steps.\n' );

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

  rmpath ( '../ode_midpoint_system' );

  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

