function kmeans_test ( )

%*****************************************************************************80
%
%% kmeans_test() tests kmeans().
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    06 February 2019
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../kmeans' );

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'kmeans_test():\n' );
  fprintf ( 1, '  MATLAB/Octave version %s\n', version ( ) );
  fprintf ( 1, '  Test kmeans().\n' );

  kmeans_test01 ( );
  kmeans_test02 ( );
  kmeans_test03 ( );
  kmeans_test04 ( );
  kmeans_test05 ( );
  kmeans_test06 ( );
  kmeans_test07 ( );
  kmeans_test08 ( );
  kmeans_test09 ( );

  kmeans_test10 ( );
  kmeans_test11 ( );
  kmeans_test12 ( );
  kmeans_test13 ( );
  kmeans_test14 ( );
  kmeans_test15 ( );
  kmeans_test16 ( );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'kmeans_test()\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../kmeans' );

  return
end
function timestamp ( )

%*****************************************************************************80
%
%% timestamp() prints the current YMDHMS date as a timestamp.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    14 February 2003
%
%  Author:
%
%    John Burkardt
%
  t = now;
  c = datevec ( t );
  s = datestr ( c, 0 );
  fprintf ( 1, '%s\n', s );

  return
end

