Fix in testDataset

release/4.3a0
Richard Roberts 2012-09-03 18:57:05 +00:00
parent 9497a233ce
commit 43f8613ec5
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ using namespace std;
using namespace gtsam;
TEST(dataSet, findExampleDataFile) {
const string expected_end = "gtsam/examples/Data/example.graph";
const string expected_end = "examples/Data/example.graph";
const string actual = findExampleDataFile("example");
string actual_end = actual.substr(actual.size() - expected_end.size(), expected_end.size());
boost::replace_all(actual_end, "\\", "/"); // Convert directory separators to forward-slash