nfs-ganesha 1.4
Classes | Defines | Typedefs | Functions | Variables

test_mh_avl.c File Reference

#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
#include <string.h>
#include <assert.h>
#include "CUnit/Basic.h"
#include "avltree.h"
#include "murmur3.h"

Go to the source code of this file.

Classes

struct  avl_unit_val

Defines

#define DEBUG   1

Typedefs

typedef struct avl_unit_val avl_unit_val_t

Functions

avl_unit_val_tavl_unit_new_val (const char *name)
void avl_unit_free_val (avl_unit_val_t *v)
void avl_unit_clear_tree (struct avltree *t)
void avltree_destroy (struct avltree *t)
void avl_unit_clear_and_destroy_tree (struct avltree *t)
void avl_unit_PkgInit (void)
int init_suite1 (void)
int clean_suite1 (void)
void inserts_tree_1 (void)
void check_tree_1 (void)
void lookups_tree_1 (void)
void deletes_tree_1 (void)
void inserts_tree_2 (void)
void check_tree_2 (void)
void lookups_tree_2 (void)
void deletes_tree_2 (void)
int main ()

Variables

struct avltree avl_tree_1

Define Documentation

#define DEBUG   1

Definition at line 13 of file test_mh_avl.c.


Typedef Documentation

typedef struct avl_unit_val avl_unit_val_t

Function Documentation

void avl_unit_clear_and_destroy_tree ( struct avltree t)

Definition at line 287 of file test_mh_avl.c.

void avl_unit_clear_tree ( struct avltree t)

Definition at line 260 of file test_mh_avl.c.

void avl_unit_free_val ( avl_unit_val_t v)

Definition at line 254 of file test_mh_avl.c.

avl_unit_val_t* avl_unit_new_val ( const char *  name)

Definition at line 50 of file test_mh_avl.c.

void avl_unit_PkgInit ( void  )

Definition at line 297 of file test_mh_avl.c.

void avltree_destroy ( struct avltree t)

Definition at line 281 of file test_mh_avl.c.

void check_tree_1 ( void  )

Definition at line 357 of file test_mh_avl.c.

void check_tree_2 ( void  )

Definition at line 411 of file test_mh_avl.c.

int clean_suite1 ( void  )

Definition at line 320 of file test_mh_avl.c.

void deletes_tree_1 ( void  )

Definition at line 388 of file test_mh_avl.c.

void deletes_tree_2 ( void  )

Definition at line 441 of file test_mh_avl.c.

int init_suite1 ( void  )

Definition at line 308 of file test_mh_avl.c.

void inserts_tree_1 ( void  )

Definition at line 339 of file test_mh_avl.c.

void inserts_tree_2 ( void  )

Definition at line 394 of file test_mh_avl.c.

void lookups_tree_1 ( void  )

Definition at line 363 of file test_mh_avl.c.

void lookups_tree_2 ( void  )

Definition at line 417 of file test_mh_avl.c.

int main ( void  )

Definition at line 450 of file test_mh_avl.c.


Variable Documentation

Definition at line 16 of file test_mh_avl.c.