function fd_predator_prey_test ( )

%*****************************************************************************80
%
%% fd_predator_prey_test() tests fd_predator_prey().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    11 January 2019
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../fd_predator_prey' )

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

  p0 = [ 5000, 100 ];
  tspan = [ 0.0, 5.0 ];
  step_num = 100;
  fd_predator_prey ( p0, tspan, step_num );

  p0 = [ 5000, 100 ];
  tspan = [ 0.0, 5.0 ];
  step_num = 1000;
  fd_predator_prey ( p0, tspan, step_num );

  p0 = [ 5000, 100 ];
  tspan = [ 0.0, 5.0 ];
  step_num = 10000;
  fd_predator_prey ( p0, tspan, step_num );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'fd_predator_prey_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );


  rmpath ( '../fd_predator_prey' )

  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

