IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 10767


Ignore:
Timestamp:
Dec 15, 2006, 4:09:41 PM (20 years ago)
Author:
jhoblitt
Message:

add +/- to the diag() output of *_tol macros

File:
1 edited

Legend:

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

    r10766 r10767  
    2929    if (!status) { \
    3030        diag("         got: '%f'", VALUE); \
    31         diag("    expected: '%f'", EXPECT); \
     31        diag("    expected: '%f' +/- %f", EXPECT, TOL); \
    3232    } \
    3333}
     
    4040    if (!status) { \
    4141        diag("         got: '%f'", VALUE); \
    42         diag("    expected: '%f'", EXPECT); \
     42        diag("    expected: '%f' +/- %f", EXPECT, TOL); \
    4343    } \
    4444}
     
    8181    if (!status) { \
    8282        diag("         got: '%f'", VALUE); \
    83         diag("    expected: '%f'", EXPECT); \
     83        diag("    expected: '%f' +/- %f", EXPECT, TOL); \
    8484    } \
    8585}
     
    9292    if (!status) { \
    9393        diag("         got: '%f'", VALUE); \
    94         diag("    expected: '%f'", EXPECT); \
     94        diag("    expected: '%f' +/- %f", EXPECT, TOL); \
    9595    } \
    9696}
Note: See TracChangeset for help on using the changeset viewer.