Permalink
Browse files

zack will set up the gtest dir

  • Loading branch information...
yglee committed Sep 5, 2012
1 parent c8b7093 commit ab55828ffc54426f720e791f748d4a1412b09eb1
Showing with 3 additions and 10 deletions.
  1. +1 −2 cpp/gtest/CMakeLists.txt
  2. +2 −8 cpp/gtest/test.cpp
View
@@ -1,5 +1,4 @@
include_directories(${EIGEN3_INCLUDE_DIR})
-
include_directories(${CMAKE_CURRENT_BINARY_DIR}/..)
# Produce a test shared library. (For re-use of executables)
@@ -10,7 +9,7 @@ add_library(test_core
target_link_libraries(test_core FastSLAM_core) # We don't depend on anything
install(FILES
- test.h
+ test.h
DESTINATION include/fslam/gtest
)
View
@@ -12,13 +12,7 @@
#include "fastslam1/predict.h"
#include "test.h"
-void test()
+TEST(FASTSLAM_TEST,numerical_accuracy_test)
{
-
- /*
- TEST(FactorialTest, HandlesZeroInput) {
- EXPECT_EQ(1, 2);
- }
- */
-
+ EXPECT_EQ(1,1);
}

0 comments on commit ab55828

Please sign in to comment.