Blender V5.3
BLI_heap_test.cc File Reference
#include "testing/testing.h"
#include <cstring>
#include "MEM_guardedalloc.h"
#include "BLI_compiler_attrs.hh"
#include "BLI_heap.hh"
#include "BLI_rand_c.hh"
#include "BLI_utildefines.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define SIZE   1024

Functions

static void blender::range_fl (float *array_tar, const int size)
 blender::TEST (heap, Empty)
 blender::TEST (heap, One)
 blender::TEST (heap, Range)
 blender::TEST (heap, RangeReverse)
 blender::TEST (heap, RangeRemove)
 blender::TEST (heap, Duplicates)
static void blender::random_heap_helper (const int items_total, const int random_seed)
 blender::TEST (heap, Rand1)
 blender::TEST (heap, Rand2)
 blender::TEST (heap, Rand100)
 blender::TEST (heap, ReInsertSimple)
static void blender::random_heap_reinsert_helper (const int items_total, const int random_seed)
 blender::TEST (heap, ReInsertRandom1)
 blender::TEST (heap, ReInsertRandom2)
 blender::TEST (heap, ReInsertRandom100)
 blender::TEST (heap, ReInsertRandom1024)
 blender::TEST (heap, ReInsertRandom2048)

Macro Definition Documentation

◆ SIZE

#define SIZE   1024

Definition at line 17 of file BLI_heap_test.cc.