73 CHECK (isnil (con.leads));
74 CHECK (1 == con.ports.size());
78 CHECK (watch(n1).isValid());
79 CHECK (watch(n1).leads().empty());
80 CHECK (watch(n1).ports().size() == 1);
83 CHECK (watch(n1).getPortSpec(0) ==
"Test:Src.dummyFun(TestFrame)"_expect);
84 CHECK (watch(n1).getPortSpec(1) ==
"↯"_expect);
91 CHECK ( isSameObject (meta1,meta1b));
92 CHECK (not isSameObject (meta1,meta2));
93 CHECK (not isSameObject (meta1,meta3));
98 CHECK (meta1.genProcSpec() ==
"N1(arg)"_expect);
99 CHECK (meta2.genProcSpec() ==
"N2(arg)"_expect);
100 CHECK (meta3.genProcSpec() ==
"N1.uga()"_expect);
104 CHECK (metaN1.genProcSpec() ==
"Test:Src.dummyFun(TestFrame)"_expect);
105 SHOW_EXPR(metaN1.genProcName())
106 CHECK (metaN1.genProcName() ==
"Test:Src.dummyFun"_expect);
107 SHOW_EXPR(metaN1.genNodeName())
108 CHECK (metaN1.genNodeName() ==
"Test:Src"_expect);
109 SHOW_EXPR(metaN1.genNodeSpec(con.leads))
110 CHECK (metaN1.genNodeSpec(con.leads) ==
"Test:Src-◎"_expect);
120 UNIMPLEMENTED (
"use existing node connectivity to generate a TurnoutSystem");
130 UNIMPLEMENTED (
"operate some render nodes as linked together");
void generate_turnout_system()
Specialised shorthand notation for building the Render Node network.
void build_connected_nodes()
A faked »media calculation« environment to validate the render node network.
Helpers typically used while writing tests.
Steam-Layer implementation namespace root.
static ProcID & describe(StrView nodeSymb, StrView portSpec)
build and register a processing ID descriptor
Simplistic test class runner.
Tiny helper functions and shortcuts to be used everywhere Consider this header to be effectively incl...
void trigger_node_port_invocation()
Interface to the processing nodes and the render nodes network.
auto prepareNode(StrView nodeSymbol)
Entrance point for building actual Render Node Connectivity (Level-2)
void dummyOp(NoArg in, SoloArg out)
Key abstraction of the Render Engine: A Data processing Node.
HashVal hash_value(ProcID const &procID)
generate registry hash value based on the distinct data in ProcID.
bool isSameObject(A const &a, B const &b)
compare plain object identity, based directly on the referee's memory identities. ...