IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 3, 2006, 6:32:18 PM (20 years ago)
Author:
jhoblitt
Message:

VERSION 0.0.43

File:
1 edited

Legend:

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

    r9173 r9187  
    496496        rawDetrendExpRow *object;
    497497
    498         object = rawDetrendExpRowAlloc("a string", "a string", "a string", "a string", -32, "a string", 32.32, 64.64, 64.64, 32.32, 64.64, 64.64, 64.64, 64.64, 64.64, 32.32, 64.64    );
     498        object = rawDetrendExpRowAlloc("a string", "a string", "a string", "a string", -32, "a string", 32.32, 64.64, 64.64, 32.32, 64.64, 64.64, 64.64, 64.64, 64.64, 32.32, 64.64, "a string"    );
    499499
    500500        if (!object) {
     
    570570            exit(EXIT_FAILURE);
    571571        }
     572        if (strncmp(object->obstype, "a string", MAX_STRING_LENGTH)) {
     573            psFree(object);
     574            exit(EXIT_FAILURE);
     575        }
    572576
    573577        psFree(object);
     
    577581        rawScienceExpRow *object;
    578582
    579         object = rawScienceExpRowAlloc("a string", "a string", "a string", "a string", -32, "a string", 32.32, 64.64, 64.64, 32.32, 64.64, 64.64, 64.64, 64.64, 64.64, 32.32, 64.64    );
     583        object = rawScienceExpRowAlloc("a string", "a string", "a string", "a string", -32, "a string", 32.32, 64.64, 64.64, 32.32, 64.64, 64.64, 64.64, 64.64, 64.64, 32.32, 64.64, "a string"    );
    580584
    581585        if (!object) {
     
    651655            exit(EXIT_FAILURE);
    652656        }
     657        if (strncmp(object->obstype, "a string", MAX_STRING_LENGTH)) {
     658            psFree(object);
     659            exit(EXIT_FAILURE);
     660        }
    653661
    654662        psFree(object);
     
    658666        rawImfileRow    *object;
    659667
    660         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    );
     668        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, "a string"    );
    661669
    662670        if (!object) {
     
    729737        }
    730738        if (!object->posang == 64.64) {
     739            psFree(object);
     740            exit(EXIT_FAILURE);
     741        }
     742        if (strncmp(object->obstype, "a string", MAX_STRING_LENGTH)) {
    731743            psFree(object);
    732744            exit(EXIT_FAILURE);
Note: See TracChangeset for help on using the changeset viewer.