> For the complete documentation index, see [llms.txt](https://clinical-genomics.gitbook.io/project-mip/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://clinical-genomics.gitbook.io/project-mip/documentation/api/tests/data.md).

# Data

When testing complex data structures use Test::More and the is\_deeply sub.

```perl
my @covariets = qw{ ReadGroupCovariate ContextCovariate CycleCovariate QualityScoreCovariate };
my @expected_covariets = qw{ ReadGroupCovariate ContextCovariate CycleCovariate QualityScoreCovariate };

is_deeply( \@covariets, \@expected_covariets, q{Identical arrays} );

my %colors = (red  => q{car},
          blue => q{sky},
             );
my %expected_colors = (red  => q{car},
                       blue => q{sky},
                      );
is_deeply(\%colors, \%expected_colors, q{Identical hashes});
```
