66 const uint START_FRAME(10);
73 return FSecs{1 + rand() % 600, 1 + rand() % 600};
105 CHECK (timings.getOrigin() == Time::ZERO);
107 ENSURE (START_FRAME == 10);
119 Time refPoint{randTicks()};
122 Time frameStart = timings.getFrameStartAt(startFrame);
126 CHECK (frameStart >= refPoint);
127 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.
Steam-Layer implementation namespace root.
Lumiera's internal time value datatype.
void verify_next_startPoint()
Abstract Base Class for all testcases.
Simple test class runner.
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