function subset_sum_table_tests ( )

%*****************************************************************************80
%
%% subset_sum_table_tests() tests subset_sum_table_test().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    10 November 2015
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'subset_sum_table_tests():\n' );
  fprintf ( 1, '  subset_sum_table_test() calls subset_sum_table() with a\n' );
  fprintf ( 1, '  particular set of weights and target.\n' );
%
%  Problem #1.
%
  t = 53;
  n = 8;
  w = [ 15, 22, 14, 26, 32, 9, 16, 8 ];
  subset_sum_table_test ( t, n, w );
%
%  Problem #2.
%
  t = 5842;
  n = 10;
  w = [   267,  493,  869,  961, 1000, 1153, 1246, 1598, 1766, 1922 ];
  subset_sum_table_test ( t, n, w );
%
%  Problem #3.
%
  t = 2463098;
  n = 21;
  w = [  518533, 1037066, 2074132, 1648264, 796528, ...
        1593056,  686112, 1372224,  244448, 488896, ...
         977792, 1955584, 1411168,  322336, 644672, ...
        1289344,   78688,  157376,  314752, 629504, ...
        1259008 ];
  subset_sum_table_test ( t, n, w );
%
%  Problem #4.
%
  t = 50;
  n = 10;
  w = [ 41, 34, 21, 20,  8,  7,  7,  4,  3,  3 ];
  subset_sum_table_test ( t, n, w );
%
%  Problem #5.
%
  t = 100;
  n = 9;
  w = [ 81, 80, 43, 40, 30, 26, 12, 11, 9 ];
  subset_sum_table_test ( t, n, w );
%
%  Problem #6.
%
  t = 22;
  n = 6;
  w = [ 1, 2, 4, 8, 16, 32 ];
  subset_sum_table_test ( t, n, w );
%
%  Problem #7.
%
  t = 50;
  n = 10;
  w = [ 25, 27, 3, 12, 6, 15, 9, 30, 21, 19 ];
  subset_sum_table_test ( t, n, w );

  return
end
