function r8vec_cross_product_3d_test ( )

%*****************************************************************************80
%
%% R8VEC_CROSS_PRODUCT_3D_TEST tests R8VEC_CROSS_PRODUCT_3D.
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    05 August 2018
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8VEC_CROSS_PRODUCT_3D_TEST:\n' );
  fprintf ( 1, '  R8VEC_CROSS_PRODUCT_3D computes the cross product of two R8VEC''s.\n' );

  n = 3;
  v1 = [ 1.0; 0.5; 0.0 ];
  r8vec_print ( n, v1, '  Vector V1:' );

  seed = 123456789;
  for i = 1 : 5
    [ v2, seed ] = r8vec_uniform_ab ( n, 0.0, 10.0, seed );
    r8vec_print ( n, v2, '  Vector V2:' );
    v3 = r8vec_cross_product_3d ( v1, v2 );
    r8vec_print ( n, v3, '  V3 = V1 x V2:' );
  end

  return
end
