/[ascend]/trunk/base/generic/utilities/test/test_ascMalloc.c
ViewVC logotype

Diff of /trunk/base/generic/utilities/test/test_ascMalloc.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 99 by jds, Mon Oct 31 03:39:15 2005 UTC revision 100 by jds, Fri Dec 9 23:25:15 2005 UTC
# Line 22  Line 22 
22   */   */
23    
24  #include <stdio.h>  #include <stdio.h>
25    #include "utilities/ascConfig.h"
26  #ifdef __WIN32__  #ifdef __WIN32__
27  #include <io.h>  #include <io.h>
28  #endif  #endif
 #include "utilities/ascConfig.h"  
29  #include "utilities/ascMalloc.h"  #include "utilities/ascMalloc.h"
30  #include "utilities/ascPanic.h"  #include "utilities/ascPanic.h"
31  #include "CUnit/CUnit.h"  #include "CUnit/CUnit.h"
# Line 260  static void test_ascMalloc(void) Line 260  static void test_ascMalloc(void)
260    CU_TEST(1 == AllocatedMemory(p_str1, 0));    CU_TEST(1 == AllocatedMemory(p_str1, 0));
261  #endif  #endif
262    
263    /* ascstatus(), ascstatus_detail(), ascshutdown() - reporting functions, not tested */    /* ascstatus(), ascstatus_detail() - reporting functions, not tested */
264      /* ascshutdown() - do not call here or will result in closure of test memory log */
265    /* ascmeminuse() - tested adequately by other tests */    /* ascmeminuse() - tested adequately by other tests */
266    
267    /* test asccalloc() */    /* test asccalloc() */

Legend:
Removed from v.99  
changed lines
  Added in v.100

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22