Blender  V3.3
Namespaces | Functions
BLI_function_ref_test.cc File Reference
#include "BLI_function_ref.hh"
#include "testing/testing.h"

Go to the source code of this file.

Namespaces

 blender
 
 blender::tests
 

Functions

static int blender::tests::perform_binary_operation (int a, int b, FunctionRef< int(int, int)> operation)
 
 blender::tests::TEST (function_ref, StatelessLambda)
 
 blender::tests::TEST (function_ref, StatefullLambda)
 
static int blender::tests::add_two_numbers (int a, int b)
 
 blender::tests::TEST (function_ref, StandaloneFunction)
 
 blender::tests::TEST (function_ref, ConstantFunction)
 
 blender::tests::TEST (function_ref, MutableStatefullLambda)
 
 blender::tests::TEST (function_ref, Null)
 
 blender::tests::TEST (function_ref, CopyDoesNotReferenceFunctionRef)
 
 blender::tests::TEST (function_ref, CopyDoesNotReferenceFunctionRef2)
 
 blender::tests::TEST (function_ref, ReferenceAnotherFunctionRef)
 
 blender::tests::TEST (function_ref, CallSafe)
 
 blender::tests::TEST (function_ref, CallSafeVoid)
 
 blender::tests::TEST (function_ref, InitializeWithNull)