IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 11692


Ignore:
Timestamp:
Feb 7, 2007, 3:37:33 PM (19 years ago)
Author:
gusciora
Message:

Correct the tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/fft/tap_psVectorFFT.c

    r11439 r11692  
    66*  @author Robert DeSonia, MHPCC
    77*
    8 *  @version $Revision: 1.1 $ $Name: not supported by cvs2svn $
    9 *  @date $Date: 2007-01-30 21:32:56 $
     8*  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
     9*  @date $Date: 2007-02-08 01:37:33 $
    1010*
    1111* XXX: Must add skip_start() macros
     
    8383        ok(vec3 != NULL, "psVectorFFT() returned non-NULL");
    8484        ok(vec3->type.type == PS_TYPE_C32, "psVectorFFT() returned the correct type");
    85         ok(vec3->n != vec2->n, "psVectorFFT() returned the correct size vectors");
     85        ok(vec3->n == vec2->n, "psVectorFFT() returned the correct size vectors");
    8686
    8787        errorFlag = false;
     
    442442        ok(vec4 != NULL, "psVectorPowerSpectrum() returned non-NULL");
    443443        // XXX: These next two tests fail
    444         ok(vec2->type.type != PS_TYPE_F32, "psVectorPowerSpectrum() returned the correct type");
    445         ok(vec4->type.type != PS_TYPE_F64, "psVectorPowerSpectrum() returned the correct type");
     444        ok(vec2->type.type == PS_TYPE_F32, "psVectorPowerSpectrum() returned the correct type");
     445        ok(vec4->type.type == PS_TYPE_F64, "psVectorPowerSpectrum() returned the correct type");
    446446
    447447        val = cabsf( vec->data.C32[ 0 ] ) * cabsf( vec->data.C32[ 0 ] ) / 100 / 100;
Note: See TracChangeset for help on using the changeset viewer.