Changeset 8368 for trunk/ippdb/tests/alloc.c
- Timestamp:
- Aug 15, 2006, 4:31:35 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/alloc.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/alloc.c
r8325 r8368 1042 1042 1043 1043 { 1044 detNormalizedStatImfileRow *object; 1045 1046 object = detNormalizedStatImfileRowAlloc(-32, -32, "a string", 32.32 ); 1047 1048 if (!object) { 1049 exit(EXIT_FAILURE); 1050 } 1051 1052 if (!object->det_id == -32) { 1053 psFree(object); 1054 exit(EXIT_FAILURE); 1055 } 1056 if (!object->iteration == -32) { 1057 psFree(object); 1058 exit(EXIT_FAILURE); 1059 } 1060 if (strncmp(object->class_id, "a string", MAX_STRING_LENGTH)) { 1061 psFree(object); 1062 exit(EXIT_FAILURE); 1063 } 1064 if (!object->norm == 32.32) { 1065 psFree(object); 1066 exit(EXIT_FAILURE); 1067 } 1068 1069 psFree(object); 1070 } 1071 1072 { 1044 1073 detNormalizedImfileRow *object; 1045 1074
Note:
See TracChangeset
for help on using the changeset viewer.
