IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 12196


Ignore:
Timestamp:
Mar 2, 2007, 3:25:22 PM (19 years ago)
Author:
gusciora
Message:

Corrected the test for U* image initialization.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/mathtypes/tap_psImage.c

    r11402 r12196  
    66 *  @author Robert DeSonia, MHPCC
    77 *
    8  *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2007-01-30 00:52:07 $
     8 *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2007-03-03 01:25:22 $
    1010 *
    1111 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    343343    int nCol = 1;
    344344    in1 = psImageAlloc(nRow, nCol, PS_TYPE_U8);
    345     ok ( psImageInit(in1, -1 ),
     345    ok ( psImageInit(in1, 5 ),
    346346         "ImageAlloc.  U8 Case - 1x1\n");
    347 
    348347    nRow = 5;
    349348    in2 = psImageAlloc(nRow, nCol, PS_TYPE_F32);
     
    353352    nCol = 5;
    354353    in3 = psImageAlloc(nRow, nCol, PS_TYPE_F64);
    355     ok ( psImageInit(in3, 3.141),
     354    ok ( psImageInit(in3, 3.14),
    356355         "ImageAlloc.  F64 Case - 5x5\n");
    357356
Note: See TracChangeset for help on using the changeset viewer.