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