Changeset 8319 for trunk/ippdb/tests/alloc.c
- Timestamp:
- Aug 14, 2006, 11:56:03 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/alloc.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/alloc.c
r8283 r8319 645 645 rawImfileRow *object; 646 646 647 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 );647 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 ); 648 648 649 649 if (!object) { … … 663 663 exit(EXIT_FAILURE); 664 664 } 665 if (strncmp(object->exp_type, "a string", MAX_STRING_LENGTH)) { 666 psFree(object); 667 exit(EXIT_FAILURE); 668 } 665 669 if (strncmp(object->uri, "a string", MAX_STRING_LENGTH)) { 666 670 psFree(object); … … 962 966 detProcessedImfileRow *object; 963 967 964 object = detProcessedImfileRowAlloc(-32, "a string", "a string", "a string", "a string" );968 object = detProcessedImfileRowAlloc(-32, "a string", "a string", "a string", "a string", 64.64, 64.64, 64.64 ); 965 969 966 970 if (!object) { … … 985 989 } 986 990 if (strncmp(object->recipe, "a string", MAX_STRING_LENGTH)) { 991 psFree(object); 992 exit(EXIT_FAILURE); 993 } 994 if (!object->bg == 64.64) { 995 psFree(object); 996 exit(EXIT_FAILURE); 997 } 998 if (!object->bg_stdev == 64.64) { 999 psFree(object); 1000 exit(EXIT_FAILURE); 1001 } 1002 if (!object->bg_mean_stdev == 64.64) { 987 1003 psFree(object); 988 1004 exit(EXIT_FAILURE);
Note:
See TracChangeset
for help on using the changeset viewer.
