function sparse_grid_mixed_test ( )

%*****************************************************************************80
%
%% sparse_grid_mixed_test() tests sparse_grid_mixed().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    16 January 2023
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../sandia_rules' );
  addpath ( '../sparse_grid_mixed' );

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

  comp_next_tests ( );
  product_mixed_weight_tests ( );
  sparse_grid_mixed_index_tests ( );
  sparse_grid_mixed_point_tests ( );
  sparse_grid_mixed_size_tests ( );
  sparse_grid_mixed_unique_index_tests ( );
  sparse_grid_mixed_weight_tests ( );
  sparse_grid_mixed_write_tests ( );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'sparse_grid_mixed_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../sandia_rules' );
  rmpath ( '../sparse_grid_mixed' );

  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

