function normal_ms_cdf_test ( )

%*****************************************************************************80
%
%% normal_ms_cdf_test() tests normal_ms_cdf().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    05 March 2015
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'normal_ms_cdf_test():\n' );
  fprintf ( 1, '  normal_ms_cdf() evaluates the CDF\n' );
  fprintf ( 1, '  for the Normal MS distribution.\n' );

  mu = 100.0;
  sigma = 15.0;

  fprintf ( 1, '\n' );
  fprintf ( 1, '  PDF parameter MU =    %14f\n', mu );
  fprintf ( 1, '  PDF parameter SIGMA = %14f\n', sigma );

  fprintf ( 1, '\n' );
  fprintf ( 1, '       X            CDF\n' );
  fprintf ( 1, '\n' );

  for i = -20 : 20
    x = mu + sigma * i / 10.0;
    cdf = normal_ms_cdf ( x, mu, sigma );
    fprintf ( 1, '  %14g  %14g\n', x, cdf );
  end

  return
end
