function line_count_test ( )

%*****************************************************************************80
%
%% line_count_test tests line_count.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    29 November 2018
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'LINE_COUNT_TEST\n' );
  fprintf ( 1, '  MATLAB version\n' );
  fprintf ( 1, '  LINE_COUNT counts the lines in a file.\n' );

  filename = 's01_list.txt';
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Count the (10) lines in "%s"\n', filename );

  lc = line_count ( filename );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Number of lines counted is %d\n', lc );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'LINE_COUNT_TEST\n' );
  fprintf ( 1, '  Normal end of execution.\n' );

  return
end
