Changeset 8319 for trunk/ippdb/tests/metadatafromobject.c
- Timestamp:
- Aug 14, 2006, 11:56:03 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/metadatafromobject.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/metadatafromobject.c
r8283 r8319 768 768 bool status; 769 769 770 object = rawImfileRowAlloc("a string", "a string", "a string", "a string", "a string", 32.32, 64.64, 64.64, 32.32, 64.64, 64.64, 64.64, 64.64, 64.64, 32.32, 64.64);770 object = rawImfileRowAlloc("a string", "a string", "a string", "a string", "a string", "a string", 32.32, 64.64, 64.64, 32.32, 64.64, 64.64, 64.64, 64.64, 64.64, 32.32, 64.64); 771 771 if (!object) { 772 772 exit(EXIT_FAILURE); … … 792 792 exit(EXIT_FAILURE); 793 793 } 794 if (strncmp(psMetadataLookupPtr(&status, md, "exp_type"), "a string", MAX_STRING_LENGTH)) { 795 psFree(md); 796 exit(EXIT_FAILURE); 797 } 794 798 if (strncmp(psMetadataLookupPtr(&status, md, "uri"), "a string", MAX_STRING_LENGTH)) { 795 799 psFree(md); … … 1157 1161 bool status; 1158 1162 1159 object = detProcessedImfileRowAlloc(-32, "a string", "a string", "a string", "a string" );1163 object = detProcessedImfileRowAlloc(-32, "a string", "a string", "a string", "a string", 64.64, 64.64, 64.64); 1160 1164 if (!object) { 1161 1165 exit(EXIT_FAILURE); … … 1186 1190 } 1187 1191 if (strncmp(psMetadataLookupPtr(&status, md, "recipe"), "a string", MAX_STRING_LENGTH)) { 1192 psFree(md); 1193 exit(EXIT_FAILURE); 1194 } 1195 if (!psMetadataLookupF64(&status, md, "bg") == 64.64) { 1196 psFree(md); 1197 exit(EXIT_FAILURE); 1198 } 1199 if (!psMetadataLookupF64(&status, md, "bg_stdev") == 64.64) { 1200 psFree(md); 1201 exit(EXIT_FAILURE); 1202 } 1203 if (!psMetadataLookupF64(&status, md, "bg_mean_stdev") == 64.64) { 1188 1204 psFree(md); 1189 1205 exit(EXIT_FAILURE);
Note:
See TracChangeset
for help on using the changeset viewer.
