151 |
package_load("qrslv",NULL); |
package_load("qrslv",NULL); |
152 |
|
|
153 |
/* load the file */ |
/* load the file */ |
154 |
const char *path = "models/johnpye/fprops/brayton_split.a4c"; |
const char *path = "models/test/bug567/combinedcycle_fprops.a4c"; |
155 |
int status; |
int status; |
156 |
Asc_OpenModule(path,&status); |
Asc_OpenModule(path,&status); |
157 |
CU_ASSERT(status == 0); |
CU_ASSERT(status == 0); |
164 |
CU_ASSERT(0 == zz_parse()); |
CU_ASSERT(0 == zz_parse()); |
165 |
|
|
166 |
/* find the model */ |
/* find the model */ |
167 |
const char *simtype = "brayton_split_co2"; |
const char *simtype = "combinedcycle_toluene"; |
168 |
CU_ASSERT(FindType(AddSymbol(simtype))!=NULL); |
CU_ASSERT(FindType(AddSymbol(simtype))!=NULL); |
169 |
|
|
170 |
/* instantiate it */ |
/* instantiate it */ |