function q8_conjugate_test ( )

%*****************************************************************************80
%
%% q8_conjugate_test() tests q8_conjugate().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    22 July 2018
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'q8_conjugate_test():\n' );
  fprintf ( 1, '  q8_conjugate() conjugates a quaternion;\n' );

  for i = 1 : 5

    q1 = q8_normal_01 ( );
    q2 = q8_conjugate ( q1 );

    fprintf ( 1, '\n' );
    q8_transpose_print ( q1, '  q1 = q8_normal_01 ( ):' );
    q8_transpose_print ( q2, '  q2 = q8_conjugate ( q1 ):  ' );  

  end

  return
end
