pelib  2.0.0
src/test_map.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <pelib/unit.h>
#include <pelib/integer.h>
#include <pelib/string_integer.h>
Include dependency graph for test_map.c:

Go to the source code of this file.

Defines

#define LENGTH   8
#define FILENAME_BINARY   "map_binary.bin"
#define VALUE   10
#define SKIP   6
#define debug(var)   printf("[%s:%s:%d] %s = \"%s\"\n", __FILE__, __FUNCTION__, __LINE__, #var, var); fflush(NULL)
#define debug_addr(var)   printf("[%s:%s:%d] %s = \"%p\"\n", __FILE__, __FUNCTION__, __LINE__, #var, var); fflush(NULL)
#define debug_int(var)   printf("[%s:%s:%d] %s = \"%d\"\n", __FILE__, __FUNCTION__, __LINE__, #var, var); fflush(NULL)
#define debug_size_t(var)   printf("[%s:%s:%d] %s = \"%zu\"\n", __FILE__, __FUNCTION__, __LINE__, #var, var); fflush(NULL)

Functions

 map_t (string, int)
void init ()
void cleanup ()
void setup ()
void teardown ()
void run ()

Define Documentation

#define debug (   var)    printf("[%s:%s:%d] %s = \"%s\"\n", __FILE__, __FUNCTION__, __LINE__, #var, var); fflush(NULL)

Definition at line 39 of file test_map.c.

#define debug_addr (   var)    printf("[%s:%s:%d] %s = \"%p\"\n", __FILE__, __FUNCTION__, __LINE__, #var, var); fflush(NULL)

Definition at line 40 of file test_map.c.

#define debug_int (   var)    printf("[%s:%s:%d] %s = \"%d\"\n", __FILE__, __FUNCTION__, __LINE__, #var, var); fflush(NULL)

Definition at line 41 of file test_map.c.

#define debug_size_t (   var)    printf("[%s:%s:%d] %s = \"%zu\"\n", __FILE__, __FUNCTION__, __LINE__, #var, var); fflush(NULL)

Definition at line 42 of file test_map.c.

#define FILENAME_BINARY   "map_binary.bin"

Definition at line 34 of file test_map.c.

#define LENGTH   8

Definition at line 33 of file test_map.c.

#define SKIP   6

Definition at line 36 of file test_map.c.

#define VALUE   10

Definition at line 35 of file test_map.c.


Function Documentation

Definition at line 76 of file test_map.c.

void init ( )

Definition at line 56 of file test_map.c.

map_t ( string  ,
int   
)

Definition at line 50 of file test_map.c.

void run ( )

Definition at line 101 of file test_map.c.

void setup ( )

Definition at line 81 of file test_map.c.

Definition at line 82 of file test_map.c.