projects
/
ppam-mpi.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
4e36e518b5d75d3bd56135165b09d0cfe977425f
[ppam-mpi.git]
/
code
/
test
/
lut.h
1
#ifndef PPAM_LUT_H
2
#define PPAM_LUT_H
3
4
#include <stdio.h>
5
6
// light, minimalist unit-testing "framework"
7
8
#define LUT_ASSERT(condition) \
9
do { \
10
if ( !(condition) ) { \
11
printf(
"Failure in file
%s
at line
%i
\n
"
,__FILE__,__LINE__); \
12
} \
13
} while (0)
14
15
#endif