Changeset 10818
- Timestamp:
- Dec 21, 2006, 10:04:05 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/pstap/src/pstap.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/pstap/src/pstap.h
r10767 r10818 14 14 # ifdef __GNUC__ 15 15 16 // use to test the value of a float 17 # define ok_float(VALUE,EXPECT,COMMENT, ...)\ 18 ok((fabsf((VALUE)-(EXPECT)) < FLT_EPSILON), COMMENT, ## __VA_ARGS__); 16 // write a comment which is counted as a test (and swallowed by prove) 17 # define note(A, ...) _gen_result(1, __func__, __FILE__, __LINE__, A, ## __VA_ARGS__); 18 19 // use to test the value of a float 20 # define ok_float(VALUE,EXPECT,COMMENT, ...)\ 21 ok((fabsf((VALUE)-(EXPECT)) < FLT_EPSILON), COMMENT, ## __VA_ARGS__); 22 23 // write a comment which is counted as a test (and swallowed by prove) 24 # define note(A, ...) _gen_result(1, __func__, __FILE__, __LINE__, A, ## __VA_ARGS__); 19 25 20 26 // use to test the value of a double … … 65 71 66 72 #elif __STDC_VERSION__ >= 199901L /* __GNUC__ */ 73 74 // write a comment which is counted as a test (and swallowed by prove) 75 # define note(A, ...) _gen_result(1, __func__, __FILE__, __LINE__, A, ...); 67 76 68 77 // use to test the value of a float
Note:
See TracChangeset
for help on using the changeset viewer.
