Skip to content
Snippets Groups Projects
Commit 06b90b5b authored by Sergi Pujol's avatar Sergi Pujol
Browse files

added gtest for match function

parent 9e1e17d3
No related branches found
No related tags found
1 merge request!4Resolve "Implementation of Falko lib"
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
using namespace laserscanutils; using namespace laserscanutils;
TEST(loop_closure_falko, extractScene) TEST(loop_closure_falko, TestExtractSceneAndMatcher)
{ {
int scanSize = 1440; int scanSize = 1440;
...@@ -32,7 +32,15 @@ TEST(loop_closure_falko, extractScene) ...@@ -32,7 +32,15 @@ TEST(loop_closure_falko, extractScene)
ASSERT_EQ(detectedKeypoints, 18); ASSERT_EQ(detectedKeypoints, 18);
ASSERT_EQ(detectedDescriptors, 18); ASSERT_EQ(detectedDescriptors, 18);
/*
//Test matcher
auto new_match =LCFalko.matchScene(newScene,newScene);
int keypoints_matched = new_match->keypointsNumberMatch;
ASSERT_EQ(keypoints_matched, 18);
*/
// PRINTF("All good at TestTest::DummyTestExample !\n"); // PRINTF("All good at TestTest::DummyTestExample !\n");
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment