56 const uint START_FRAME(10);
63 return FSecs{1 +
rani(600), 1 +
rani(600)};
96 CHECK (timings.getOrigin() == Time::ZERO);
98 ENSURE (START_FRAME == 10);
110 Time refPoint{randTicks()};
113 Time frameStart = timings.getFrameStartAt(startFrame);
117 CHECK (frameStart >= refPoint);
118 CHECK (frameStart < refPoint + frameDuration);
FrameCnt getBreakPointAfter(TimeValue refPoint) const
the next grid point at or after the given reference time
void verify_simpleFrameStep()
Framerate specified as frames per second.
Generic frame timing specification.
int rani(uint bound=_iBOUND())
Steam-Layer implementation namespace root.
Lumiera's internal time value datatype.
void verify_next_startPoint()
Abstract Base Class for all testcases.
Simplistic test class runner.
void seedRand()
draw a new random seed from a common nucleus, and re-seed the default-Gen.
Tiny helper functions and shortcuts to be used everywhere Consider this header to be effectively incl...
boost::rational< int64_t > FSecs
rational representation of fractional seconds
A collection of frequently used helper functions to support unit testing.
Offset measures a distance in time.
How to define a timing specification or constraint.
Duration is the internal Lumiera time metric.
int64_t FrameCnt
relative framecount or frame number.
a family of time value like entities and their relationships.
static const FrameRate PAL
predefined constant for PAL framerate