IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 899


Ignore:
Timestamp:
Jun 7, 2004, 10:47:52 AM (22 years ago)
Author:
harman
Message:

Added more test points

File:
1 edited

Legend:

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

    r798 r899  
    1111 *  @author  Ross Harman, MHPCC
    1212 *
    13  *  @version $Revision: 1.2 $  $Name: not supported by cvs2svn $
    14  *  @date  $Date: 2004-05-28 02:52:23 $
     13 *  @version $Revision: 1.3 $  $Name: not supported by cvs2svn $
     14 *  @date  $Date: 2004-06-07 20:47:52 $
    1515 *
    1616 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3232         char* argv[])
    3333{
     34    psImage *tempImage = NULL;
    3435
    3536
     
    5354    // Test B - Transpose input image into output image
    5455    printPositiveTestHeader(stdout, "psMatrix", "Transpose input image into output image");
    55     psMatrixTranspose(outImage, inImage);
     56    tempImage = outImage;
     57    outImage = psMatrixTranspose(outImage, inImage);
    5658    PRINT_MATRIX(outImage);
     59    if(outImage->type.dimen != PS_DIMEN_IMAGE) {
     60        printf("Error: Resulting image is not PS_DIMEN_IMAGE\n");
     61    } else if(outImage != tempImage) {
     62        printf("Error: Return pointer not equal to output argument pointer\n");
     63    }
    5764    printFooter(stdout, "psMatrix", "Transpose input image into output image", true);
    5865
Note: See TracChangeset for help on using the changeset viewer.