function rectangle_nodes_test ( )

%*****************************************************************************80
%
%% rectangle_nodes_test() tests rectangle_nodes().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    13 December 2021
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'rectangle_nodes_test():\n' );
  fprintf ( 1, '  rectangle_nodes() returns coordinates of the\n' );
  fprintf ( 1, '  nodes forming a rectangle.\n' );

  nx = 4;
  ny = 3;
  rxy = rectangle_nodes ( nx, ny );
  rxyn = size ( rxy, 1 );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  #  (X,Y)\n' );
  fprintf ( 1, '\n' );
  for rxyi = 1 : rxyn
    fprintf ( 1, '  %d: (%g,%g)\n', rxyi, rxy(rxyi,1:2) );
  end
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'rectangle_nodes_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );

  return
end

