Lumiera  0.pre.03
»edit your freedom«
node-base-test.cpp
Go to the documentation of this file.
1 /*
2  NodeBase(Test) - unit test to cover the render node base elements
3 
4  Copyright (C)
5  2009, Hermann Vosseler <Ichthyostega@web.de>
6 
7   **Lumiera** is free software; you can redistribute it and/or modify it
8   under the terms of the GNU General Public License as published by the
9   Free Software Foundation; either version 2 of the License, or (at your
10   option) any later version. See the file COPYING for further details.
11 
12 * *****************************************************************/
13 
19 #include "lib/test/run.hpp"
20 //#include "lib/test/test-helper.hpp"
22 #include "steam/engine/turnout.hpp"
24 //#include "lib/format-cout.hpp"
25 //#include "lib/util.hpp"
26 
27 
28 //using std::string;
29 
30 
31 namespace steam {
32 namespace engine{
33 namespace test {
34 
35 
36  namespace { // Test fixture
39  }
40 
41 
42  /***************************************************************/
45  class NodeBase_test : public Test
46  {
47  virtual void
48  run (Arg)
49  {
50  seedRand();
52  UNIMPLEMENTED ("build a simple render node and then activate it");
53  }
54 
57  void
59  {
60  Time nomTime{rani(10'000),0}; // drive test with a random »nominal Time« <10s with ms granularity
61  TurnoutSystem invoker{nomTime}; // a time spec is mandatory, all further parameters are optional
62  }
63  };
64 
65 
67  LAUNCHER (NodeBase_test, "unit node");
68 
69 
70 
71 }}} // namespace steam::engine::test
Definition: run.hpp:40
int rani(uint bound=_iBOUND())
Definition: random.hpp:135
Steam-Layer implementation namespace root.
Fixed standard setup used in each Port of the Render Node to generate data.
Lumiera&#39;s internal time value datatype.
Definition: timevalue.hpp:299
Simplistic test class runner.
Interface to the processing nodes and the render nodes network.
THe actual state of a frame rendering evaluation parametrised for a single job.