/[ascend]/trunk/ascend/general/test/test_ospath.c
ViewVC logotype

Diff of /trunk/ascend/general/test/test_ospath.c

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

revision 2018 by jpye, Wed Apr 29 03:38:10 2009 UTC revision 2335 by jpye, Sun Dec 26 03:24:37 2010 UTC
# Line 18  Line 18 
18  *//**  *//**
19      @file      @file
20      CUnit tests for the ospath.c module.      CUnit tests for the ospath.c module.
21        by John Pye.
22  */  */
23    
24  #include <ascend/general/ospath.h>  #include <ascend/general/ospath.h>
# Line 112  static void test_ospath_getparent(void){ Line 113  static void test_ospath_getparent(void){
113      D(fp2);      D(fp2);
114      D(fp3);      D(fp3);
115      CU_TEST(ospath_cmp(fp2,fp3)==0);      CU_TEST(ospath_cmp(fp2,fp3)==0);
116      M("Passed 'getparent' test\n");      if(ospath_cmp(fp2,fp3)==0)M("Passed 'getparent' test\n");
117    
118      ospath_free(fp1); ospath_free(fp2); ospath_free(fp3);      ospath_free(fp1); ospath_free(fp2); ospath_free(fp3);
119    

Legend:
Removed from v.2018  
changed lines
  Added in v.2335

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