From 382e3311fda4401f80c59a50b9bbf103372c85da Mon Sep 17 00:00:00 2001 From: Frank Dellaert Date: Tue, 22 May 2012 17:58:50 +0000 Subject: [PATCH] test new key() method --- gtsam/nonlinear/tests/testKey.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gtsam/nonlinear/tests/testKey.cpp b/gtsam/nonlinear/tests/testKey.cpp index 54a2e504a..dedb45332 100644 --- a/gtsam/nonlinear/tests/testKey.cpp +++ b/gtsam/nonlinear/tests/testKey.cpp @@ -27,11 +27,11 @@ using namespace gtsam; /* ************************************************************************* */ TEST(Key, KeySymbolConversion) { - Symbol expected('j', 4); - Key key(expected); + Symbol original('j', 4); + Key key(original); + EXPECT(assert_equal(key, original.key())) Symbol actual(key); - - EXPECT(assert_equal(expected, actual)) + EXPECT(assert_equal(original, actual)) } /* ************************************************************************* */