IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 20, 2006, 5:33:47 PM (20 years ago)
Author:
jhoblitt
Message:

VERSION 0.0.51

File:
1 edited

Legend:

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

    r9684 r9705  
    723723        detRunRow       *object;
    724724
    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"    );
    726726
    727727        if (!object) {
     
    742742        }
    743743        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        }
    744781            psFree(object);
    745782            exit(EXIT_FAILURE);
Note: See TracChangeset for help on using the changeset viewer.