function subset_sum_backtrack_test_all ( )

%*****************************************************************************80
%
%% subset_sum_backtrack_test_all() calls subset_sum_backtrack_test_one().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    14 July 2017
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'subset_sum_backtrack_test_all():\n' );
  fprintf ( 1, '  For specific values of S, N, and V, call\n' );
  fprintf ( 1, '  subset_sum_backtrack_test_one() for a solution.\n' );
  
  s = 9;
  n = 5;
  v = [ 1; 2; 3; 5; 7 ];
  subset_sum_backtrack_test_one ( s, n, v );
  
  s = 8;
  n = 9;
  v = [ 1; 2; 3; 4; 5; 6; 7; 8; 9 ];
  subset_sum_backtrack_test_one ( s, n, v );
%
%  What happens with a repeated target?
%
  s = 8;
  n = 9;
  v = [ 1; 2; 3; 3; 5; 6; 7; 8; 9 ];
  subset_sum_backtrack_test_one ( s, n, v );
%
%  What happens with a target that needs all the values?
%
  s = 18;
  n = 5;
  v = [ 1; 2; 3; 5; 7 ];
  subset_sum_backtrack_test_one ( s, n, v );
%
%  A larger S.
%
  s = 5842;
  n = 10;
  v = [ 267; 493; 869; 961; 1000; 1153; 1246; 1598; 1766; 1922 ];
  subset_sum_backtrack_test_one ( s, n, v );
 
  return
end
