fprintf('testing BNT\n');

% We compare the results of BNT with various specialized toolboxes
% to check that they give the same results.


discrete1
discrete2
gaussian1
gaussian_alag
%mixexp1
%nor1
softmax1



if exist('learn_hmm', 'file')==2
  HMM_toolbox = 1;
else
  HMM_toolbox = 0;
end
if exist('learn_kalman', 'file')==2
  KF_toolbox = 1;
else
  KF_toolbox = 0;
end
if exist('learn_switching_kalman', 'file')==2
  SKF_toolbox = 1;
else
  SKF_toolbox = 0;
end
if exist('gmmem', 'file')==2
  netlab_toolbox = 1;
else
  netlab_toolbox = 0;
end
if exist('ffa', 'file')==2
  fa_toolbox = 1;
else
  fa_toolbox = 0;
end

if HMM_toolbox
  dbn1
  hmm1
  hmm_mog1
  fhmm1
  viterbi1
end

if KF_toolbox
  kalman1
end

if SKF_toolbox
  %skf1
  % The SKF toolbox is broken right now...
end

if netlab_toolbox
  mog1
end

if fa_toolbox
  fa1
end
