Changeset 9705 for trunk/ippdb/tests/alloc.c
- Timestamp:
- Oct 20, 2006, 5:33:47 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/alloc.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/alloc.c
r9684 r9705 723 723 detRunRow *object; 724 724 725 object = detRunRowAlloc(-32, -32, "a string", "a string" );725 object = detRunRowAlloc(-32, -32, "a string", "a string", "a string", "a string", 32.32, 32.32, 32.32, 64.64, "a string", "0001-01-01T00:00:00Z", "0001-01-01T00:00:00Z", "0001-01-01T00:00:00Z" ); 726 726 727 727 if (!object) { … … 742 742 } 743 743 if (strncmp(object->state, "a string", MAX_STRING_LENGTH)) { 744 psFree(object); 745 exit(EXIT_FAILURE); 746 } 747 if (strncmp(object->exp_type, "a string", MAX_STRING_LENGTH)) { 748 psFree(object); 749 exit(EXIT_FAILURE); 750 } 751 if (strncmp(object->filter, "a string", MAX_STRING_LENGTH)) { 752 psFree(object); 753 exit(EXIT_FAILURE); 754 } 755 if (!object->airmass == 32.32) { 756 psFree(object); 757 exit(EXIT_FAILURE); 758 } 759 if (!object->exp_time == 32.32) { 760 psFree(object); 761 exit(EXIT_FAILURE); 762 } 763 if (!object->ccd_temp == 32.32) { 764 psFree(object); 765 exit(EXIT_FAILURE); 766 } 767 if (!object->posang == 64.64) { 768 psFree(object); 769 exit(EXIT_FAILURE); 770 } 771 if (strncmp(object->object, "a string", MAX_STRING_LENGTH)) { 772 psFree(object); 773 exit(EXIT_FAILURE); 774 } 775 psFree(object); 776 exit(EXIT_FAILURE); 777 } 778 psFree(object); 779 exit(EXIT_FAILURE); 780 } 744 781 psFree(object); 745 782 exit(EXIT_FAILURE);
Note:
See TracChangeset
for help on using the changeset viewer.
