function r8_cas_test ( )

%*****************************************************************************80
%
%% r8_cas_test tests r8_cas.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    19 April 2009
%
%  Author:
%
%    John Burkardt
%
  test_num = 12;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8_CAS_TEST\n' );
  fprintf ( 1, '  R8_CAS evaluates the casine of a number.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '	X	   R8_CAS ( X )\n' );
  fprintf ( 1, '\n' );
  for test = 0 : test_num
    x = pi * test / test_num;
    fprintf ( 1, '  %14f  %14f\n', x, r8_cas ( x ) );
  end

  return
end
