Tests for serialization global functions using boost.serialization. More...
#include <gtsam_unstable/slam/serialization.h>
#include <gtsam/geometry/Pose2.h>
#include <gtsam/geometry/Pose3.h>
#include <gtsam/slam/BetweenFactor.h>
#include <gtsam/sam/BearingRangeFactor.h>
#include <CppUnitLite/TestHarness.h>
#include <boost/filesystem.hpp>
#include <iostream>
#include <cstdlib>
#include <fstream>
#include <sstream>
Go to the source code of this file.
Functions | |
NonlinearFactorGraph | exampleGraph () |
Values | exampleValues () |
int | main () |
TEST (testSerialization, serialization_file) | |
TEST (testSerialization, text_graph_serialization) | |
TEST (testSerialization, text_values_serialization) | |
TEST (testSerialization, xml_graph_serialization) | |
TEST (testSerialization, xml_values_serialization) | |
Variables | |
static string | topdir = "TOPSRCDIR_NOT_CONFIGURED" |
Tests for serialization global functions using boost.serialization.
Definition in file testSerialization.cpp.
NonlinearFactorGraph exampleGraph | ( | ) |
Definition at line 47 of file testSerialization.cpp.
Values exampleValues | ( | ) |
Definition at line 36 of file testSerialization.cpp.
int main | ( | ) |
Definition at line 120 of file testSerialization.cpp.
TEST | ( | testSerialization | , |
serialization_file | |||
) |
Definition at line 88 of file testSerialization.cpp.
TEST | ( | testSerialization | , |
text_graph_serialization | |||
) |
Definition at line 56 of file testSerialization.cpp.
TEST | ( | testSerialization | , |
text_values_serialization | |||
) |
Definition at line 72 of file testSerialization.cpp.
TEST | ( | testSerialization | , |
xml_graph_serialization | |||
) |
Definition at line 64 of file testSerialization.cpp.
TEST | ( | testSerialization | , |
xml_values_serialization | |||
) |
Definition at line 80 of file testSerialization.cpp.
|
static |
Definition at line 33 of file testSerialization.cpp.