Tests for serialization global functions using boost.serialization. More...
#include <CppUnitLite/TestHarness.h>#include <iostream>#include <gtsam/slam/serialization.h>#include <gtsam/geometry/Pose2.h>#include <gtsam/geometry/Pose3.h>#include <gtsam/slam/BetweenFactor.h>#include <gtsam/sam/BearingRangeFactor.h>#include <stdlib.h>#include <fstream>#include <sstream>#include <boost/assign/std/vector.hpp>#include <boost/filesystem.hpp>
Go to the source code of this file.
Functions | |
| NonlinearFactorGraph | exampleGraph () |
| Values | exampleValues () |
| int | main () |
| TEST (testSerialization, text_graph_serialization) | |
| TEST (testSerialization, xml_graph_serialization) | |
| TEST (testSerialization, text_values_serialization) | |
| TEST (testSerialization, xml_values_serialization) | |
| TEST (testSerialization, serialization_file) | |
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 48 of file testSerialization.cpp.
| Values exampleValues | ( | ) |
Definition at line 37 of file testSerialization.cpp.
| int main | ( | void | ) |
Definition at line 121 of file testSerialization.cpp.
| TEST | ( | testSerialization | , |
| text_graph_serialization | |||
| ) |
Definition at line 57 of file testSerialization.cpp.
| TEST | ( | testSerialization | , |
| xml_graph_serialization | |||
| ) |
Definition at line 65 of file testSerialization.cpp.
| TEST | ( | testSerialization | , |
| text_values_serialization | |||
| ) |
Definition at line 73 of file testSerialization.cpp.
| TEST | ( | testSerialization | , |
| xml_values_serialization | |||
| ) |
Definition at line 81 of file testSerialization.cpp.
| TEST | ( | testSerialization | , |
| serialization_file | |||
| ) |
Definition at line 89 of file testSerialization.cpp.
|
static |
Definition at line 34 of file testSerialization.cpp.