function info = test_kron(test,number_of_threads)
% Copyright © 2007-2021 Dynare Team
%
% This file is part of Dynare.
%
% Dynare is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% Dynare is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with Dynare. If not, see .
if ~nargin
test = 2;
end
info = 1;
if test == 1
test1_1 = 1;
test1_2 = 1;
disp('')
disp('I''m building the test problem...')
tic
percentage_of_non_zero_elements = 1e-3;
NumberOfVariables = 120;
NumberOfEquations = 70;
NumberOfColsInB = 50;
NumberOfColsInC = 60;
A = zeros(NumberOfEquations,NumberOfVariables^2);
for i = 1:NumberOfEquations
for j = 1:NumberOfVariables
for k = j:NumberOfVariables
if rand