function biharmonic_exact_test ( )

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

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

  n = 5;
  X = rand ( n, 1 );
  Y = rand ( n, 1 );
  a = 1.0;
  b = 2.0;
  c = 3.0;
  d = 4.0;
  e = 5.0;
  f = 6.0;
  g = 7.0;
%
%  Exact function 1.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Exact solution 1 residual at random points:\n' );

  R = biharmonic_exact_r1 ( X, Y, a, b, c, d, e, f, g );

  disp ( R )
%
%  Exact function 2.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Exact solution 2 residual at random points:\n' );

  R = biharmonic_exact_r2 ( X, Y, a, b, c, d, e, f, g );

  disp ( R )
%
%  Exact function 3.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Exact solution 3 residual at random points:\n' );

  R = biharmonic_exact_r3 ( X, Y, a, b, c, d, e, f );

  disp ( R )
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'biharmonic_exact_test()\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../biharmonic_exact' );

  return
end
function timestamp ( )

%*****************************************************************************80
%
%% timestamp() prints the YMDHMS date as a timestamp.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    14 November 2022
%
%  Author:
%
%    John Burkardt
%
  t = now ( );
  c = datevec ( t );
  s = datestr ( c, 0 );
  fprintf ( 1, '%s\n', s );

  return
end

