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

Description

Test:
this test covers some extensions and variations on function closures:
  • partial application of a function, returning a partial closure
  • variation: binding an arbitrary term, might even be a nested binder
  • chaining of two functions with suitable arguments ("composition")

Definition at line 142 of file function-composition-test.cpp.

Private Member Functions

void check_bindToArbitraryParameter ()
 
void check_diagnostics ()
 verify the test input data
 
void check_functionalComposition ()
 
void check_partialApplication ()
 
virtual void run (Arg)
 
void verify_referenceHandling ()
 

Static Private Member Functions

static long floorIt (float it)
 

Member Function Documentation

◆ floorIt()

static long floorIt ( float  it)
inlinestaticprivate

static function to pass as reference for test

Definition at line 392 of file function-composition-test.cpp.

◆ verify_referenceHandling()

void verify_referenceHandling ( )
inlineprivate
Test:
ensure reference types and arguments are handled properly

Definition at line 397 of file function-composition-test.cpp.

+ Inheritance diagram for FunctionComposition_test:
+ Collaboration diagram for FunctionComposition_test:

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