IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 9, 2004, 12:50:39 PM (22 years ago)
Author:
harman
Message:

Added support for psF32 types

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/dataManip/tst_psMatrix02.c

    r2204 r2679  
    77 *     B)  Null input psImage
    88 *     C)  Incorrect type for input pointer
    9  *     D)  Matrix not square for input pointer
    10  *     E)  Incorrect type for output pointer
    11  *     F)  Matrix not square for output pointer
     9 *     D)  Incorrect type for output pointer
     10 *     E)  Matrix not square for output pointer
    1211 *
    1312 *  @author  Ross Harman, MHPCC
    1413 *
    15  *  @version $Revision: 1.3 $  $Name: not supported by cvs2svn $
    16  *  @date  $Date: 2004-10-27 00:57:33 $
     14 *  @version $Revision: 1.4 $  $Name: not supported by cvs2svn $
     15 *  @date  $Date: 2004-12-09 22:50:39 $
    1716 *
    1817 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2928    psImage *inImage = (psImage*)psImageAlloc(3, 3, PS_TYPE_F64);
    3029    psImage *outImage = (psImage*)psImageAlloc(3, 3, PS_TYPE_F64);
    31     psImage *badImage1 = (psImage*)psImageAlloc(3, 3, PS_TYPE_F32);
     30    psImage *badImage1 = (psImage*)psImageAlloc(3, 3, PS_TYPE_C32);
    3231    psImage *badImage2 = (psImage*)psImageAlloc(3, 2, PS_TYPE_F64);
    3332
     
    5049    printFooter(stdout, "psMatrix", "Incorrect type for input pointer", true);
    5150
    52     // Test D - Matrix not square for input pointer
    53     printNegativeTestHeader(stdout,"psMatrix", "Matrix not square for input pointer",
    54                             "Invalid operation: inImage not square array.", 0);
    55     psMatrixTranspose(outImage, badImage2);
    56     printFooter(stdout, "psMatrix", "Matrix not square for input pointer", true);
    57 
    58     // Test E - Incorrect type for output pointer
     51    // Test D - Incorrect type for output pointer
    5952    printNegativeTestHeader(stdout,"psMatrix", "Incorrect type for output pointer",
    6053                            "Invalid operation: outImage not PS_TYPE_F64.", 0);
     
    6255    printFooter(stdout, "psMatrix", "Incorrect type for output pointer", true);
    6356
    64     // Test F - Matrix not square for output pointer
     57    // Test E - Matrix not square for output pointer
    6558    printNegativeTestHeader(stdout,"psMatrix", "Matrix not square for output pointer",
    6659                            "Invalid operation: outImage not square array.", 0);
Note: See TracChangeset for help on using the changeset viewer.