26#include <boost/functional/hash.hpp>
81 CHECK (job1 != job2,
"random test data clash");
83 CHECK (hash_value(job1) != hash_value(job2));
86 CHECK (!isSameObject (job1, copy));
89 CHECK (hash_value(job1) == hash_value(copy));
91 copy.parameter.nominalTime++;
92 CHECK (hash_value(job1) != hash_value(copy));
95 copy.parameter.invoKey.part.a++;
96 CHECK (hash_value(job1) != hash_value(copy));
102 void invokeJobOperation (JobParameter) { }
109 return boost::hash_value (invoKey.
part.a);
112 OtherClosure someOtherClosure;
115 copy.jobClosure = &someOtherClosure;
116 CHECK (hash_value(job1) != hash_value(copy));
Lumiera's internal time value datatype.
void verify_job_identity()
void verify_simple_job_properties()
Mock setup for a render Job with NO action but built-in diagnostics.
static bool was_invoked(Job const &job)
static Time invocationTime(Job const &job)
Interface of the closure for frame rendering jobs.
Individual frame rendering task, forwarding to a closure.
Definition of a render job.
@ META_JOB
render process self organisation
struct InvocationInstanceID::@62 part
opaque ID attached to each individual job invocation.
Mock data structures to support implementation testing of render job planning and frame dispatch.
Steam-Layer implementation namespace root.
Test runner and basic definitions for tests.
bool isSameObject(A const &a, B const &b)
compare plain object identity, based directly on the referee's memory identities.
lumiera_jobParameter const & JobParameter
Front-end for simplified access to the current wall clock time.
Simplistic test class runner.
#define LAUNCHER(_TEST_CLASS_, _GROUPS_)
Tiny helper functions and shortcuts to be used everywhere Consider this header to be effectively incl...