commit last state
[ppam-mpi.git] / code / test / lut.h
CommitLineData
81923e5c
BA
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