probcomp / hierarchical-irm

Probabilistic structure discovery for rich relational systems
Apache License 2.0
1 stars 1 forks source link

Add some unit tests #11

Open ThomasColthurst opened 1 month ago

ThomasColthurst commented 2 weeks ago

Update: after lots of good work from everyone, we now only have two files without unit tests: hirm.hh and util_io.hh.

In addition, there are a number of files that are under tested: distributions/bigram.hh and all of the emissions classes, for example. zero_mean_normal_test.cc is missing a test that compares against a numerical integral (like normal_test.cc has).