varch/test/test_rbtree.c
2024-04-22 00:09:51 +08:00

26 lines
398 B
C

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "init.h"
#include "tool.h"
#include "valloc.h"
#include "rbtree.h"
static void print_int(tree_t tree)
{
if (tree_data(tree)) printf("%d", *(int *)tree_data(tree));
}
static void test(void)
{
printf("rbtree test\r\n");
v_check_unfree();
// printf("used %d\r\n", v_check_used());
}
init_export_app(test);