Changeset 11657
- Timestamp:
- Feb 5, 2007, 3:01:05 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/astro/tap_psCoord02.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/astro/tap_psCoord02.c
r11180 r11657 7 7 * XXX: These tests should probably be split among several files 8 8 * 9 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $10 * @date $Date: 2007-0 1-19 20:42:21$9 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2007-02-06 01:01:05 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 162 162 psLogSetFormat("HLNM"); 163 163 psLogSetLevel(PS_LOG_INFO); 164 plan_tests(2 7);164 plan_tests(25); 165 165 srand(RANDOM_SEED); 166 166 … … 508 508 509 509 // psPlaneTransformDeriv() 510 // Ensure psPlaneTransformDeriv() returns NULL for NULL input plane transform511 // Following should generate error message512 // XXX: We do not test error generation513 // XXX: This test fails, probably because of spec changes514 {515 psMemId id = psMemGetId();516 psPlane *coord = psPlaneAlloc();517 psPlaneTransform *trans = psPlaneTransformAlloc(1, 3);518 psPlane *deriv = psPlaneTransformDeriv(NULL, trans, coord);519 ok(deriv == NULL, "psPlaneTransformDeriv(NULL, trans, coord) returned NULL");520 psFree(coord);521 psFree(trans);522 psFree(deriv);523 ok(!psMemCheckLeaks (id, NULL, NULL, false), "no memory leaks");524 }525 526 527 // psPlaneTransformDeriv()528 510 // Ensure psPlaneTransformDeriv() returns NULL for NULL input plane 529 511 // psLogMsg(__func__,PS_LOG_INFO,"Following should generate error message");
Note:
See TracChangeset
for help on using the changeset viewer.
