function unicycle_inverse_test ( )

%*****************************************************************************80
%
%% unicycle_inverse_test() tests unicycle_inverse();
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    17 June 2012.
%
%  Author:
%
%    John Burkardt
%
  n = 7;
  u = [ 1, 7, 6, 2, 4, 3, 5 ];

  fprintf ( 1, '\n' );
  fprintf ( 1, 'unicycle_inverse_test():\n' );
  fprintf ( 1, '  unicycle_inverse() inverts a unicycle.\n' );

  unicycle_print ( n, u, '  The original unicycle:' );
 
  u_inverse = unicycle_inverse ( n, u );

  unicycle_print ( n, u_inverse, '  The inverse unicycle:' );
 
  return
end
