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/math/tap_psStats01.c

    r11420 r12607  
    88*  @author GLG, MHPCC
    99*
    10 *  @version $Revision: 1.3 $  $Name: not supported by cvs2svn $
    11 *  @date $Date: 2007-01-30 04:41:51 $
     10*  @version $Revision: 1.4 $  $Name: not supported by cvs2svn $
     11*  @date $Date: 2007-03-27 22:52:03 $
    1212*
    1313* Copyright 2004-2005 Maui High Performance Computing Center, Univ. of Hawaii
     
    6363        ok(result, "psVectorStats suceeded");
    6464        ok(!isnan(myStats->max), "psVectorStats() returned non-NAN");
    65         ok_float_tol(myStats->max, expectedMaxNoMaskF32, 1e-4,
     65        is_float_tol(myStats->max, expectedMaxNoMaskF32, 1e-4,
    6666                     "The max was %f, should be %f", myStats->max, expectedMaxNoMaskF32);
    6767        ok(!psMemCheckLeaks (id, NULL, NULL, false), "no memory leaks");
     
    7474        ok(result, "psVectorStats suceeded");
    7575        ok(!isnan(myStats->max), "psVectorStats() returned non-NAN");
    76         ok_float_tol(myStats->max, expectedMaxWithMaskF32, 1e-4,
     76        is_float_tol(myStats->max, expectedMaxWithMaskF32, 1e-4,
    7777                     "The max was %f, should be %f", myStats->max, expectedMaxWithMaskF32);
    7878        ok(!psMemCheckLeaks (id, NULL, NULL, false), "no memory leaks");
     
    8888        ok(result, "psVectorStats suceeded");
    8989        ok(!isnan(myStats->max), "psVectorStats() returned non-NAN");
    90         ok_float_tol(myStats->max, expectedMaxRangeNoMaskF32, 1e-4,
     90        is_float_tol(myStats->max, expectedMaxRangeNoMaskF32, 1e-4,
    9191                     "The max was %f, should be %f", myStats->max, expectedMaxRangeNoMaskF32);
    9292        ok(!psMemCheckLeaks (id, NULL, NULL, false), "no memory leaks");
     
    101101        ok(result, "psVectorStats suceeded");
    102102        ok(!isnan(myStats->max), "psVectorStats() returned non-NAN");
    103         ok_float_tol(myStats->max, expectedMaxRangeWithMaskF32, 1e-4,
     103        is_float_tol(myStats->max, expectedMaxRangeWithMaskF32, 1e-4,
    104104                     "The max was %f, should be %f", myStats->max, expectedMaxRangeWithMaskF32);
    105105        ok(!psMemCheckLeaks (id, NULL, NULL, false), "no memory leaks");
     
    136136        ok(result, "psVectorStats suceeded");
    137137        ok(!isnan(myStats->max), "psVectorStats() returned non-NAN");
    138         ok_float_tol(myStats->max, expectedMaxNoMaskS8, 1e-4,
     138        is_float_tol(myStats->max, expectedMaxNoMaskS8, 1e-4,
    139139                     "The max was %f, should be %f", myStats->max, expectedMaxNoMaskS8);
    140140        psFree(myStats);
     
    157157        ok(result, "psVectorStats suceeded");
    158158        ok(!isnan(myStats->max), "psVectorStats() returned non-NAN");
    159         ok_float_tol(myStats->max, expectedMaxNoMaskU16, 1e-4,
     159        is_float_tol(myStats->max, expectedMaxNoMaskU16, 1e-4,
    160160                     "The max was %f, should be %f", myStats->max, expectedMaxNoMaskU16);
    161161        psFree(myStats);
     
    178178        ok(result, "psVectorStats suceeded");
    179179        ok(!isnan(myStats->max), "psVectorStats() returned non-NAN");
    180         ok_float_tol(myStats->max, expectedMaxNoMaskF64, 1e-4,
     180        is_float_tol(myStats->max, expectedMaxNoMaskF64, 1e-4,
    181181                     "The max was %f, should be %f", myStats->max, expectedMaxNoMaskF64);
    182182        psFree(myStats);
Note: See TracChangeset for help on using the changeset viewer.