IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 2, 2006, 4:40:35 PM (20 years ago)
Author:
jhoblitt
Message:

VERSION 0.0.9

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/jhoblitt/ippdb/tests/objectfrommetadata.c

    r8084 r8089  
    879879            exit(EXIT_FAILURE);
    880880        }
    881         if (!psMetadataAddStr(md, PS_LIST_TAIL, "class", 0, NULL, "a string")) {
    882             psFree(md);
    883             exit(EXIT_FAILURE);
    884         }
    885881        if (!psMetadataAddF32(md, PS_LIST_TAIL, "airmass", 0, NULL, 32.32)) {
    886882            psFree(md);
     
    936932            exit(EXIT_FAILURE);
    937933        }
    938         if (strncmp(object->class, "a string", MAX_STRING_LENGTH)) {
    939             psFree(object);
    940             exit(EXIT_FAILURE);
    941         }
    942934        if (!object->airmass == 32.32) {
    943935            psFree(object);
     
    993985            exit(EXIT_FAILURE);
    994986        }
    995         if (!psMetadataAddStr(md, PS_LIST_TAIL, "class", 0, NULL, "a string")) {
    996             psFree(md);
    997             exit(EXIT_FAILURE);
    998         }
    999987        if (!psMetadataAddF32(md, PS_LIST_TAIL, "airmass", 0, NULL, 32.32)) {
    1000988            psFree(md);
     
    10471035        }
    10481036        if (strncmp(object->filter, "a string", MAX_STRING_LENGTH)) {
    1049             psFree(object);
    1050             exit(EXIT_FAILURE);
    1051         }
    1052         if (strncmp(object->class, "a string", MAX_STRING_LENGTH)) {
    10531037            psFree(object);
    10541038            exit(EXIT_FAILURE);
Note: See TracChangeset for help on using the changeset viewer.