IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 3, 2006, 4:43:38 PM (20 years ago)
Author:
jhoblitt
Message:

fix psVectorExtend() tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/mathtypes/tap_psVector.c

    r7806 r7808  
    161161        ok(psVec != NULL, "test vector extended");
    162162        skip_start(psVec == NULL, 2, "Skipping 2 tests because psVectorExtend() failed");
    163         ok(psVec->nalloc == 5, "Vector size = %ld", psVec->nalloc);
     163        ok(psVec->nalloc == 15, "Vector size = %ld", psVec->nalloc);
    164164        ok(psVec->n == 4,"Vector population = %ld", psVec->n);
    165165        skip_end();
     
    176176        ok(psVec != NULL, "test vector extended");
    177177        skip_start(psVec == NULL, 2, "Skipping 2 tests because psVectorExtend() failed");
    178         ok(psVec->nalloc == 5 ,"Vector size = %ld", psVec->nalloc);
     178        ok(psVec->nalloc == 15 ,"Vector size = %ld", psVec->nalloc);
    179179        ok(psVec->n == 2, "Vector population = %ld", psVec->n);
    180180        skip_end();
     
    192192        ok(psVec != NULL, "test vector extended");
    193193        skip_start(psVec == NULL, 2, "Skipping 2 tests because psVectorExtend() failed");
    194         ok(psVec->nalloc == 5, "Vector size = %ld", psVec->nalloc);
     194        ok(psVec->nalloc == 15, "Vector size = %ld", psVec->nalloc);
    195195        ok(psVec->n == 0, "Vector population = %ld", psVec->n);
    196196        skip_end();
     
    375375        psVector *vec = psVectorAlloc(5, PS_TYPE_S32);
    376376
    377         ok(psVectorSet(vec, 1, 4),
     377        ok(psVectorSet(vec, 1, 4) == true,
    378378           "VectorSet set S32 at position 1");
    379379
Note: See TracChangeset for help on using the changeset viewer.