IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 1957


Ignore:
Timestamp:
Oct 5, 2004, 9:42:51 AM (22 years ago)
Author:
evanalst
Message:

Updated for inclusion of test for psImageSubsection.

Location:
trunk/psLib/test/image
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/image/tst_psImageExtraction.c

    r1929 r1957  
    66*  @author Robert DeSonia, MHPCC
    77*
    8 *  @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
    9 *  @date $Date: 2004-09-29 20:17:58 $
     8*  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
     9*  @date $Date: 2004-10-05 19:42:51 $
    1010*
    1111*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2525                              {testImageSubset,547,"psImageSubset",0,false},
    2626                              {testImageSubset,550,"psImageSubset",0,true},
    27                               {testImageSubsection,730,"psImageSubsection",0,true},
     27                              {testImageSubsection,730,"psImageSubsection",0,false},
    2828                              {testImageSlice, 552, "psImageSlice", 0, false},
    2929                              {NULL}
     
    525525}
    526526
    527 // #547: psImageSubset shall create child image of a specified size from a parent psImage structure
     527// #730: psImageSubsection shall create child image of a specified size from a parent psImage structure
    528528int testImageSubsection(void)
    529529{
  • trunk/psLib/test/image/verified/tst_psImageExtraction.stderr

    r1929 r1957  
    7474/***************************** TESTPOINT ******************************************\
    7575*             TestFile: tst_psImageExtraction.c                                    *
     76*            TestPoint: psImage{psImageSubsection}                                 *
     77*             TestType: Positive                                                   *
     78\**********************************************************************************/
     79
     80<DATE><TIME>|<HOST>|I|testImageSubsection
     81    Testing subsection [0:<LINENO>,0:<LINENO>].
     82<DATE><TIME>|<HOST>|I|testImageSubsection
     83    Testing subsection [32:<LINENO>,32:<LINENO>].
     84<DATE><TIME>|<HOST>|I|testImageSubsection
     85    Testing subsection [64:<LINENO>,32:<LINENO>].
     86<DATE><TIME>|<HOST>|I|testImageSubsection
     87    Testing subsection [32:<LINENO>,128:<LINENO>].
     88<DATE><TIME>|<HOST>|I|testImageSubsection
     89    An error should follow (x1>x2)
     90<DATE><TIME>|<HOST>|E|psLib.image.psImageSubsection
     91    Specified subset range, [64:<LINENO>,32:<LINENO>], is invalid.  Ranges must be incremental.
     92<DATE><TIME>|<HOST>|I|testImageSubsection
     93    An error should follow (y1>y2)
     94<DATE><TIME>|<HOST>|E|psLib.image.psImageSubsection
     95    Specified subset range, [32:<LINENO>,64:<LINENO>], is invalid.  Ranges must be incremental.
     96<DATE><TIME>|<HOST>|I|testImageSubsection
     97    An error should follow (x2>nCols)
     98<DATE><TIME>|<HOST>|E|psLib.image.psImageSubset
     99    Specified subset range, [64:<LINENO>,32:<LINENO>], is invalid or outside input psImage's boundaries, [0:<LINENO>,0:<LINENO>].
     100<DATE><TIME>|<HOST>|I|testImageSubsection
     101    An error should follow (y2>=nRows)
     102<DATE><TIME>|<HOST>|E|psLib.image.psImageSubset
     103    Specified subset range, [32:<LINENO>,64:<LINENO>], is invalid or outside input psImage's boundaries, [0:<LINENO>,0:<LINENO>].
     104<DATE><TIME>|<HOST>|I|testImageSubsection
     105    An error should follow (malformed string - no brackets)
     106<DATE><TIME>|<HOST>|E|psLib.image.psImageSubsection
     107    Specified subsection string, '32:<LINENO>,32:<LINENO>', can not be parsed.  Must be in the form '[x1:x2,y1:y2]'.
     108<DATE><TIME>|<HOST>|I|testImageSubsection
     109    An error should follow (malformed string - no colons)
     110<DATE><TIME>|<HOST>|E|psLib.image.psImageSubsection
     111    Specified subsection string, '[32-64,32-64]', can not be parsed.  Must be in the form '[x1:x2,y1:y2]'.
     112<DATE><TIME>|<HOST>|I|testImageSubsection
     113    An error should follow (malformed string - not four numbers)
     114<DATE><TIME>|<HOST>|E|psLib.image.psImageSubsection
     115    Specified subsection string, '[32:<LINENO>,32]', can not be parsed.  Must be in the form '[x1:x2,y1:y2]'.
     116<DATE><TIME>|<HOST>|I|testImageSubsection
     117    An error should follow (image is NULL)
     118<DATE><TIME>|<HOST>|E|psLib.image.psImageSubset
     119    Can not operate on a NULL psImage.
     120<DATE><TIME>|<HOST>|I|testImageSubsection
     121    An error should follow (subsection string is NULL)
     122<DATE><TIME>|<HOST>|E|psLib.image.psImageSubsection
     123    Specified subsection string can not be NULL.
     124
     125---> TESTPOINT PASSED (psImage{psImageSubsection} | tst_psImageExtraction.c)
     126
     127/***************************** TESTPOINT ******************************************\
     128*             TestFile: tst_psImageExtraction.c                                    *
    76129*            TestPoint: psImage{psImageSlice}                                      *
    77130*             TestType: Positive                                                   *
Note: See TracChangeset for help on using the changeset viewer.