MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / setup

Function setup

tests/unit/test_rg_matrix_iter.c:12–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10#include "src/graph/rg_matrix/rg_matrix_iter.h"
11
12void setup() {
13 Alloc_Reset();
14
15 // initialize GraphBLAS
16 GrB_init(GrB_NONBLOCKING);
17
18 // all matrices in CSR format
19 GxB_Global_Option_set(GxB_FORMAT, GxB_BY_ROW);
20
21 // set delta matrix flush threshold
22 Config_Option_set(Config_DELTA_MAX_PENDING_CHANGES, "10000", NULL);
23}
24
25void tearDown() {
26 GrB_finalize();

Callers

nothing calls this directly

Calls 4

Alloc_ResetFunction · 0.85
GrB_initFunction · 0.85
GxB_Global_Option_setFunction · 0.85
Config_Option_setFunction · 0.85

Tested by

no test coverage detected