5#include "testing/testing.h"
41 data->
store = data->value;
47 data->
value *= data->value;
68 const int expected_value = 2;
82TEST(task, GraphStartAtAnyNode)
95 const int expected_value = 10;
EXPECT_EQ(BLI_expr_pylike_eval(expr, nullptr, 0, &result), EXPR_PYLIKE_INVALID)
struct TaskNode * BLI_task_graph_node_create(struct TaskGraph *task_graph, TaskGraphNodeRunFunction run, void *user_data, TaskGraphNodeFreeFunction free_func)
void BLI_task_graph_edge_create(struct TaskNode *from_node, struct TaskNode *to_node)
bool BLI_task_graph_node_push_work(struct TaskNode *task_node)
void BLI_task_graph_free(struct TaskGraph *task_graph)
struct TaskGraph * BLI_task_graph_create(void)
void BLI_task_graph_work_and_wait(struct TaskGraph *task_graph)
TEST(task, GraphSequential)
static void TaskData_decrease_value(void *taskdata)
static void TaskData_square_value(void *taskdata)
static void TaskData_increase_value(void *taskdata)
static void TaskData_multiply_by_two_value(void *taskdata)
static void TaskData_store_value(void *taskdata)
static void TaskData_multiply_by_two_store(void *taskdata)
Read Guarded memory(de)allocation.