test on ordering

release/4.3a0
Frank Dellaert 2019-04-03 20:16:37 -04:00
parent ecaf415d1e
commit c450222ff1
1 changed files with 9 additions and 0 deletions

View File

@ -136,6 +136,15 @@ TEST( GaussianBayesNet, optimize3 )
EXPECT(assert_equal(expected, actual));
}
/* ************************************************************************* */
TEST(GaussianBayesNet, ordering)
{
Ordering expected;
expected += 0, 1;
const auto actual = noisyBayesNet.ordering();
EXPECT(assert_equal(expected, actual));
}
/* ************************************************************************* */
TEST( GaussianBayesNet, backSubstituteTranspose )
{