![]() |
Lumiera 0.pre.04
»edit your freedom«
|
unit test DiffTreeApplication_test. More...
Go to the source code of this file.
unit test DiffTreeApplication_test.
Demonstrates the most relevant operations for reshaping structured data through a tree-diff sequence. Here, we use a lib::diff:Record<GenNode> as target data, and the test focuses on demonstrating the possible operations.
Definition in file diff-tree-application-test.cpp.
#include "lib/test/run.hpp"#include "lib/format-util.hpp"#include "lib/diff/tree-diff-application.hpp"#include "lib/iter-adapter-stl.hpp"#include "lib/time/timevalue.hpp"#include "lib/util.hpp"#include <string>#include <vector>Namespaces | |
| namespace | lib |
| Implementation namespace for support and library code. | |
| namespace | lib::diff |
| namespace | lib::diff::test |
| namespace | lib::diff::test::anonymous_namespace{diff-tree-application-test.cpp} |
Classes | |
| class | DiffTreeApplication_test |
Functions | |
| LAUNCHER (DiffTreeApplication_test, "unit common") | |
| Register this test class... | |
Variables | |
| const GenNode | ATTRIB1 ("α", 1) |
| const GenNode | ATTRIB2 ("β", int64_t(2)) |
| const GenNode | ATTRIB3 ("γ", 3.45) |
| const GenNode | TYPE_X ("type", "X") |
| const GenNode | TYPE_Y ("type", "Y") |
| const GenNode | CHILD_A ("a") |
| const GenNode | CHILD_B ('b') |
| const GenNode | CHILD_T (Time(12, 34, 56, 78)) |
| const GenNode | SUB_NODE = MakeRec().genNode() |
| const GenNode | ATTRIB_NODE = MakeRec().genNode("δ") |
| const GenNode | CHILD_NODE = SUB_NODE |