my @datasets = ('crp0', 'lipo');
my $counter = 1;
my $ignore = ['^MHMM\s\s*v[1-9][0-9]*\.\{0,1\}[0-9]*\.\{0,1\}[0-9]*\s*$'];
foreach my $dset (@datasets) {
  my $linear_model = make_test_src_path(catfile('mhmm', $dset.'.linear.mhmm'));
  my $complete_model = make_test_src_path(catfile('mhmm', $dset.'.complete.mhmm'));
  &test('mhmm-io'.$counter, '',
    'mhmm-io', 
    '', 
    [
      '--verbosity', 1, 
      $linear_model
    ],
    [
      {
        output => '-', 
        reference => $linear_model,
        type => 'text', 
        ignore => $ignore
      }
    ],
    catdir('results', 'mhmm_io'.($counter++))
  );
  &test('mhmm-io'.$counter, '', 
    'mhmm-io', 
    '', 
    [
      '--verbosity', 1, 
      $complete_model
    ],
    [
      {
        output => '-', 
        reference => $complete_model, 
        type => 'text', 
        ignore => $ignore
      }
    ],
    catdir('results', 'mhmm_io'.($counter++))
  );
}

