function boolean_to_string_test ( )

%*****************************************************************************80
%
%% boolean_to_string_test() tests boolean_to_string().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    16 October 2020
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'boolean_to_string_test():\n' );
  fprintf ( 1, '  boolean_to_string() creates the string "True" or "False"\n' );
  fprintf ( 1, '  based on a boolean value.\n' );
  fprintf ( 1, '  This can be useful when printing boolean results.\n' );

  fprintf ( 1, '\n' );
  fprintf ( 1, '   I   isPrime?\n' );
  fprintf ( 1, '\n' );

  for i = 1 : 10
    b = isprime ( i );
    s = boolean_to_string ( b );
    fprintf ( 1, '  %2d   %s\n', i, s );
  end

  return
end

