Lumiera  0.pre.03
»edit your freedom«
UtilFloorwrap_test Class Reference

Description

Test:
Verify a custom built integer scale division and wrapping function.

This function is relevant for decimating values into a given scale, like splitting time measurements in hours, minutes, seconds etc. Basically, in Lumiera the quantisation into a scale is always done with the same orientation, irrespective of the zero point on the given scale. Contrast this to the built-in integer division and modulo operators working symmetrical to zero.

See also
lib/util.hpp
TimeFormats_test

Definition at line 61 of file util-floorwrap-test.cpp.

Private Member Functions

template<typename I >
void checkWrap (I range, I scale)
 
virtual void run (Arg arg)
 
template<typename I >
void showWrap (I val, I scale)
 
+ Inheritance diagram for UtilFloorwrap_test:
+ Collaboration diagram for UtilFloorwrap_test:

The documentation for this class was generated from the following file: