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

    r8283 r8319  
    768768        bool            status;
    769769
    770         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);
     770        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);
    771771        if (!object) {
    772772            exit(EXIT_FAILURE);
     
    792792            exit(EXIT_FAILURE);
    793793        }
     794        if (strncmp(psMetadataLookupPtr(&status, md, "exp_type"), "a string", MAX_STRING_LENGTH)) {
     795            psFree(md);
     796            exit(EXIT_FAILURE);
     797        }
    794798        if (strncmp(psMetadataLookupPtr(&status, md, "uri"), "a string", MAX_STRING_LENGTH)) {
    795799            psFree(md);
     
    11571161        bool            status;
    11581162
    1159         object = detProcessedImfileRowAlloc(-32, "a string", "a string", "a string", "a string");
     1163        object = detProcessedImfileRowAlloc(-32, "a string", "a string", "a string", "a string", 64.64, 64.64, 64.64);
    11601164        if (!object) {
    11611165            exit(EXIT_FAILURE);
     
    11861190        }
    11871191        if (strncmp(psMetadataLookupPtr(&status, md, "recipe"), "a string", MAX_STRING_LENGTH)) {
     1192            psFree(md);
     1193            exit(EXIT_FAILURE);
     1194        }
     1195        if (!psMetadataLookupF64(&status, md, "bg") == 64.64) {
     1196            psFree(md);
     1197            exit(EXIT_FAILURE);
     1198        }
     1199        if (!psMetadataLookupF64(&status, md, "bg_stdev") == 64.64) {
     1200            psFree(md);
     1201            exit(EXIT_FAILURE);
     1202        }
     1203        if (!psMetadataLookupF64(&status, md, "bg_mean_stdev") == 64.64) {
    11881204            psFree(md);
    11891205            exit(EXIT_FAILURE);
Note: See TracChangeset for help on using the changeset viewer.