Lumiera
0.pre.03
»edit your freedom«
|
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>
Classes | |
class | DiffTreeApplication_test |
Functions | |
LAUNCHER (DiffTreeApplication_test, "unit common") | |
Register this test class... More... | |
Variables | |
const GenNode | ATTRIB1 ("α", 1) |
const GenNode | ATTRIB2 ("β", int64_t(2)) |
const GenNode | ATTRIB3 ("γ", 3.45) |
const GenNode | ATTRIB_NODE = MakeRec().genNode("δ") |
const GenNode | CHILD_A ("a") |
const GenNode | CHILD_B ('b') |
const GenNode | CHILD_NODE = SUB_NODE |
const GenNode | CHILD_T (Time(12, 34, 56, 78)) |
const GenNode | SUB_NODE = MakeRec().genNode() |
const GenNode | TYPE_X ("type", "X") |
const GenNode | TYPE_Y ("type", "Y") |
Namespaces | |
lib | |
Implementation namespace for support and library code. | |
lib::diff::test::LAUNCHER | ( | DiffTreeApplication_test | , |
"unit common" | |||
) |
Register this test class...