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/metadatafromobject.c

    r9173 r9187  
    602602        bool            status;
    603603
    604         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);
     604        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");
    605605        if (!object) {
    606606            exit(EXIT_FAILURE);
     
    682682            exit(EXIT_FAILURE);
    683683        }
     684        if (strncmp(psMetadataLookupPtr(&status, md, "obstype"), "a string", MAX_STRING_LENGTH)) {
     685            psFree(md);
     686            exit(EXIT_FAILURE);
     687        }
    684688
    685689        psFree(md);
     
    691695        bool            status;
    692696
    693         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);
     697        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");
    694698        if (!object) {
    695699            exit(EXIT_FAILURE);
     
    771775            exit(EXIT_FAILURE);
    772776        }
     777        if (strncmp(psMetadataLookupPtr(&status, md, "obstype"), "a string", MAX_STRING_LENGTH)) {
     778            psFree(md);
     779            exit(EXIT_FAILURE);
     780        }
    773781
    774782        psFree(md);
     
    780788        bool            status;
    781789
    782         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);
     790        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");
    783791        if (!object) {
    784792            exit(EXIT_FAILURE);
     
    857865        }
    858866        if (!psMetadataLookupF64(&status, md, "posang") == 64.64) {
     867            psFree(md);
     868            exit(EXIT_FAILURE);
     869        }
     870        if (strncmp(psMetadataLookupPtr(&status, md, "obstype"), "a string", MAX_STRING_LENGTH)) {
    859871            psFree(md);
    860872            exit(EXIT_FAILURE);
Note: See TracChangeset for help on using the changeset viewer.