IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 14, 2006, 11:56:03 AM (20 years ago)
Author:
jhoblitt
Message:

VERSION 0.0.27

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippdb/tests/alloc.c

    r8283 r8319  
    645645        rawImfileRow    *object;
    646646
    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    );
    648648
    649649        if (!object) {
     
    663663            exit(EXIT_FAILURE);
    664664        }
     665        if (strncmp(object->exp_type, "a string", MAX_STRING_LENGTH)) {
     666            psFree(object);
     667            exit(EXIT_FAILURE);
     668        }
    665669        if (strncmp(object->uri, "a string", MAX_STRING_LENGTH)) {
    666670            psFree(object);
     
    962966        detProcessedImfileRow *object;
    963967
    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    );
    965969
    966970        if (!object) {
     
    985989        }
    986990        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) {
    9871003            psFree(object);
    9881004            exit(EXIT_FAILURE);
Note: See TracChangeset for help on using the changeset viewer.