Changeset 12607 for trunk/psLib/test/pstap/src/pstap.h
- Timestamp:
- Mar 27, 2007, 12:52:03 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/pstap/src/pstap.h (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/pstap/src/pstap.h
r12410 r12607 25 25 26 26 // use to test the value of a float 27 # define ok_float(VALUE, EXPECT, ...) \27 # define is_float(VALUE, EXPECT, ...) \ 28 28 { \ 29 29 bool status = false; \ … … 42 42 43 43 // use to test the value of a float within a defined tolerance 44 # define ok_float_tol(VALUE,EXPECT,TOL,...)\44 # define is_float_tol(VALUE,EXPECT,TOL,...)\ 45 45 { \ 46 46 bool status = false; \ … … 59 59 60 60 // use to test the value of a double 61 # define ok_double(VALUE,EXPECT,...)\61 # define is_double(VALUE,EXPECT,...)\ 62 62 { \ 63 63 bool status = false; \ … … 76 76 77 77 // use to test the value of a double 78 # define ok_double_tol(VALUE,EXPECT,TOL, ...)\78 # define is_double_tol(VALUE,EXPECT,TOL, ...)\ 79 79 { \ 80 80 bool status = false; \ … … 92 92 93 93 94 # define ok_str(VALUE, EXPECT, ...) \94 # define is_str(VALUE, EXPECT, ...) \ 95 95 { \ 96 96 int cmp = (strcmp(VALUE, EXPECT) == 0); \ … … 103 103 104 104 105 # define ok_strn(VALUE, EXPECT, N, ...)\105 # define is_strn(VALUE, EXPECT, N, ...)\ 106 106 { \ 107 107 int cmp = (strncmp(VALUE, EXPECT, N) == 0); \
Note:
See TracChangeset
for help on using the changeset viewer.
