matrix module
1.00.00
www.protokollkonverter.de
|
assert extensions More...
#include <assert.h>
#include <string.h>
#include <math.h>
Go to the source code of this file.
Macros | |
#define | assertTrue(x) assert(x) |
test result on true More... | |
#define | assertFalse(x) assert((x) == 0) |
test result on false More... | |
#define | assertString(x, y) assert(strcmp(x,y)) == 0) |
test two strings on equal More... | |
#define | assertDouble(x, y) assert(floor((x)*1e10) == floor((y)*1e10)) |
test two double values on equal More... | |
#define | assertMemory(x, y, z) assert(memcmp(x,y,z) == 0) |
test two memory areas on equal More... | |
assert extensions
Home of this file is http://www.protokollkonverter.de.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.
date | version | author | comment |
---|---|---|---|
04/28/2018 | 1.00.00 | Thomas Stalter | initial version |