PostGIS  2.5.7dev-r@@SVN_REVISION@@
cu_varint.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "CUnit/Basic.h"
#include "CUnit/CUnit.h"
#include "liblwgeom_internal.h"
#include "varint.h"
#include "cu_tester.h"
Include dependency graph for cu_varint.c:

Go to the source code of this file.

Functions

static void do_test_u32_varint (uint32_t nr, int expected_size, char *expected_res)
 
static void do_test_s32_varint (int32_t nr, int expected_size, char *expected_res)
 
static void do_test_u64_varint (uint64_t nr, int expected_size, char *expected_res)
 
static void do_test_s64_varint (int64_t nr, int expected_size, char *expected_res)
 
static void test_varint (void)
 
static void do_test_u64_roundtrip (uint64_t i64_in)
 
static void do_test_s64_roundtrip (int64_t i64_in)
 
static void test_varint_roundtrip (void)
 
static void test_zigzag (void)
 
void varint_suite_setup (void)