Changeset 8089 for branches/jhoblitt/ippdb/tests/alloc.c
- Timestamp:
- Aug 2, 2006, 4:40:35 PM (20 years ago)
- File:
-
- 1 edited
-
branches/jhoblitt/ippdb/tests/alloc.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/jhoblitt/ippdb/tests/alloc.c
r8084 r8089 483 483 rawDetrendExpRow *object; 484 484 485 object = rawDetrendExpRowAlloc("a string", "a string", "a string", "a string", -32, "a string", "a string",32.32, 64.64, 64.64, 32.32, 64.64 );485 object = rawDetrendExpRowAlloc("a string", "a string", "a string", "a string", -32, "a string", 32.32, 64.64, 64.64, 32.32, 64.64 ); 486 486 487 487 if (!object) { … … 513 513 exit(EXIT_FAILURE); 514 514 } 515 if (strncmp(object->class, "a string", MAX_STRING_LENGTH)) {516 psFree(object);517 exit(EXIT_FAILURE);518 }519 515 if (!object->airmass == 32.32) { 520 516 psFree(object); … … 544 540 rawScienceExpRow *object; 545 541 546 object = rawScienceExpRowAlloc("a string", "a string", "a string", "a string", -32, "a string", "a string",32.32, 64.64, 64.64, 32.32, 64.64 );542 object = rawScienceExpRowAlloc("a string", "a string", "a string", "a string", -32, "a string", 32.32, 64.64, 64.64, 32.32, 64.64 ); 547 543 548 544 if (!object) { … … 571 567 } 572 568 if (strncmp(object->filter, "a string", MAX_STRING_LENGTH)) { 573 psFree(object);574 exit(EXIT_FAILURE);575 }576 if (strncmp(object->class, "a string", MAX_STRING_LENGTH)) {577 569 psFree(object); 578 570 exit(EXIT_FAILURE);
Note:
See TracChangeset
for help on using the changeset viewer.
