IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 8, 2025, 4:42:12 PM (12 months ago)
Author:
eugene
Message:

remove old deprecated tests, add some new ones

Location:
trunk/psLib/test
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test

    • Property svn:ignore
      •  

        old new  
        66*.da
        77gmon.out
         8test.00.jpg
         9test.01.jpg
         10test.02.jpg
         11test.03.jpg
         12test.04.jpg
         13test.05.jpg
         14test.06.jpg
         15test.07.jpg
         16test.08.jpg
         17test.09.jpg
         18test.10.jpg
         19test.11.jpg
         20test.12.jpg
         21test.im.fits
         22test.mk.fits
         23test.sm1.fits
         24test.sm2.fits
         25test.sm3.fits
         26test.sm4.fits
         27tmpImages
         28tst_psTrace02_OUT
  • trunk/psLib/test/math

    • Property svn:ignore
      •  

        old new  
        5353tap_psSpline1D
        5454tap_psPolynomialMD
         55tap_psMinimizeLMM
         56tap_psMinimizeLMM_Alt
         57tap_psMinimizeLMM_Trail
         58tap_psPolyFit_IRLS_1D
         59tap_psPolyFit_IRLS_2D
         60tap_psPolynomialMD_sampleDark
         61test-suite.log
  • trunk/psLib/test/math/tap_psSparse.c

    r13124 r42822  
    1     #include <stdio.h>
     1#include <stdio.h>
    22#include <string.h>
    33#include <pslib.h>
     
    227227        // test the support functions: LowerProduct
    228228        fVec = psSparseBorderLowerProduct(NULL, border, xRef);
    229         is_float(fVec->n, 1.0, "f dimen: %d", fVec->n);
     229        is_int(fVec->n, 1.0, "f dimen: %d", fVec->n);
    230230        is_float(fVec->data.F32[0], 0.3, "f(0): %f", fVec->data.F32[0]);
    231231        psFree(fVec);
     
    233233        // test the support functions: Upper Product
    234234        fVec = psSparseBorderUpperProduct(NULL, border, yRef);
    235         is_float(fVec->n, 2.0, "f dimen: %d", fVec->n);
     235        is_int(fVec->n, 2.0, "f dimen: %d", fVec->n);
    236236        is_float(fVec->data.F32[0], 0.05, "f(0): %f", fVec->data.F32[0]);
    237237        is_float(fVec->data.F32[1], 0.10, "f(0): %f", fVec->data.F32[1]);
     
    240240        // test the support functions: Square Product
    241241        fVec = psSparseBorderSquareProduct(NULL, border, yRef);
    242         is_float(fVec->n, 1.0, "f dimen: %d", fVec->n);
     242        is_int(fVec->n, 1.0, "f dimen: %d", fVec->n);
    243243        is_float(fVec->data.F32[0], 0.25, "f(0): %f", fVec->data.F32[0]);
    244244        psFree(fVec);
Note: See TracChangeset for help on using the changeset viewer.