IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 27, 2007, 12:52:03 PM (19 years ago)
Author:
jhoblitt
Message:

s/is_float/is_float/g
s/is_float_tol/is_float_tol/g
s/is_double/is_double/g
s/is_double_tol/is_double_tol/g
s/is_str/is_str/g
s/is_strn/is_strn/g

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/pstap/src/pstap.h

    r12410 r12607  
    2525
    2626// use to test the value of a float
    27 # define ok_float(VALUE, EXPECT, ...) \
     27# define is_float(VALUE, EXPECT, ...) \
    2828{ \
    2929    bool status = false; \
     
    4242
    4343// 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,...)\
    4545{ \
    4646    bool status = false; \
     
    5959
    6060// use to test the value of a double
    61 # define ok_double(VALUE,EXPECT,...)\
     61# define is_double(VALUE,EXPECT,...)\
    6262{ \
    6363    bool status = false; \
     
    7676
    7777// use to test the value of a double
    78 # define ok_double_tol(VALUE,EXPECT,TOL, ...)\
     78# define is_double_tol(VALUE,EXPECT,TOL, ...)\
    7979{ \
    8080    bool status = false; \
     
    9292
    9393
    94 # define ok_str(VALUE, EXPECT, ...) \
     94# define is_str(VALUE, EXPECT, ...) \
    9595{ \
    9696    int cmp = (strcmp(VALUE, EXPECT) == 0); \
     
    103103
    104104
    105 # define ok_strn(VALUE, EXPECT, N, ...)\
     105# define is_strn(VALUE, EXPECT, N, ...)\
    106106{ \
    107107    int cmp = (strncmp(VALUE, EXPECT, N) == 0); \
Note: See TracChangeset for help on using the changeset viewer.