new unit test to assess crash of print on empty factor

release/4.3a0
Frank Dellaert 2012-01-19 22:26:24 +00:00
parent 235c4c9e40
commit 3c1e5c0f04
1 changed files with 6 additions and 0 deletions

View File

@ -35,6 +35,12 @@ using namespace gtsam;
const double tol = 1e-5;
/* ************************************************************************* */
TEST(HessianFactor, emptyConstructor) {
HessianFactor f;
// f.print();
}
/* ************************************************************************* */
TEST(HessianFactor, ConversionConstructor) {