Changeset 2932
- Timestamp:
- Jan 7, 2005, 2:12:44 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/astronomy/tst_psCoord.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/astronomy/tst_psCoord.c
r2930 r2932 6 6 * @author GLG, MHPCC 7 7 * 8 * @version $Revision: 1. 7$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-01-0 7 23:52:00$8 * @version $Revision: 1.8 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-01-08 00:12:44 $ 10 10 * 11 11 * XXX: Must test psSpherePrecess. 12 12 * XXX: psSphereSetOffset(&position1, &offset, PS_LINEAR, 0) doesn't work? 13 * XXX: Test with a bad offfset unit type in the SphereGet/SetOffset() functions. 13 14 * 14 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 986 987 987 988 printf("-------------------------------------------------------------------\n"); 989 printf("Calling psSphereGetOffset() with bogus offset units. Should generate error, return NULL.\n"); 990 offset = psSphereGetOffset(&position1, &position2, PS_SPHERICAL, 0x54321); 991 if (offset != NULL) { 992 printf("TEST ERROR: psSphereGetOffset() did not return NULL.\n"); 993 testStatus = false; 994 offset = NULL; 995 } 996 997 printf("-------------------------------------------------------------------\n"); 988 998 return(testStatus); 989 999 } … … 1086 1096 1087 1097 printf("-------------------------------------------------------------------\n"); 1098 printf("Calling psSphereSetOffset() with bogus offset unit. Should generate error, return NULL.\n"); 1099 position2 = psSphereSetOffset(&position1, &offset, PS_SPHERICAL, 0x54321); 1100 if (position2 != NULL) { 1101 printf("TEST ERROR: psSphereSetOffset() did not return NULL.\n"); 1102 testStatus = false; 1103 position2 = NULL; 1104 } 1105 1106 printf("-------------------------------------------------------------------\n"); 1088 1107 return(testStatus); 1089 1108 }
Note:
See TracChangeset
for help on using the changeset viewer.
