matrix module
1.00.00
www.protokollkonverter.de
Main Page
Modules
Data Structures
Files
Examples
File List
Globals
asserts.h
Go to the documentation of this file.
1
34
#ifndef ASSERTS_H
35
#define ASSERTS_H
36
37
#include <assert.h>
38
#include <string.h>
39
#include <math.h>
40
41
47
#define assertTrue(x) assert(x)
48
#define assertFalse(x) assert((x) == 0)
49
#define assertString(x,y) assert(strcmp(x,y)) == 0)
50
#define assertDouble(x,y) assert(floor((x)*1e10) == floor((y)*1e10))
51
#define assertMemory(x,y,z) assert(memcmp(x,y,z) == 0)
52
53
57
#endif
/* ASSERTS_H */
58
matrix
include
asserts.h
Generated by
1.8.11