Changeset 13124 for trunk/psLib/test/math/tap_psMatrix02.c
- Timestamp:
- May 1, 2007, 6:20:06 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/math/tap_psMatrix02.c (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/math/tap_psMatrix02.c
r12431 r13124 12 12 * @author Ross Harman, MHPCC 13 13 * 14 * @version $Revision: 1. 2$ $Name: not supported by cvs2svn $15 * @date $Date: 2007-0 3-14 00:39:51$14 * @version $Revision: 1.3 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2007-05-02 04:20:06 $ 16 16 * 17 17 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 24 24 #include "pstap.h" 25 25 26 psS32main(psS32 argc,27 char* argv[])26 int main(psS32 argc, 27 char* argv[]) 28 28 { 29 29 psLogSetFormat("HLNM"); 30 30 plan_tests(11); 31 31 32 // Test A - Input pointer same as output pointer 32 // Input pointer same as output pointer 33 // XXX: This results in a seg fault. It's not clear that passing this test is 34 // a requirement. However, we should probably fix the case where the input 35 // image equals the output image. 33 36 if (0) { 34 37 psMemId id = psMemGetId(); … … 40 43 } 41 44 42 // Test B - Null input psImage 45 46 // Null input psImage 47 // Merge with tap_psMatrix01.c, get rid of this test (redundant) 43 48 { 44 49 psMemId id = psMemGetId(); … … 52 57 } 53 58 54 // Test C - Incorrect type for input pointer 59 60 // Incorrect type for input pointer 61 // Merge with tap_psMatrix01.c, get rid of this test (redundant) 55 62 { 56 63 psMemId id = psMemGetId(); … … 65 72 } 66 73 67 // Test D - Incorrect type for output pointer 74 75 // Incorrect type for output pointer 68 76 { 69 77 psMemId id = psMemGetId(); … … 79 87 } 80 88 81 // Test E - Matrix not square for output pointer 89 90 // Matrix not square for output pointer 82 91 // XXX: We should probably do more here. 83 92 { … … 90 99 ok(!psMemCheckLeaks (id, NULL, NULL, false), "no memory leaks"); 91 100 } 92 return 0;93 101 }
Note:
See TracChangeset
for help on using the changeset viewer.
