Menu

#96 TA_IMI fails reg_test test

open
nobody
None
5
2015-06-22
2015-06-22
No

I'm getting following for TA_IMI when launching reg_test:

$ ./ta_regtest 

ta_regtest V0.6.0-dev (Jun 22 2015 12:10:16) - Regression Tests of TA-Lib code

Testing utility functions
Testing Abstract interface
Testing the TA functions
         MATH,VECTOR,DCPERIOD/PHASE,TRENDLINE/MODE: Testing...done.
                               All Moving Averages: Testing...done.
                                 AROON,CORREL,BETA: Testing...done.
                             CCI,WILLR,ULTOSC,NATR: Testing...done.
                                      BOP,AVGPRICE: Testing...done.
                                           RSI,CMO: Testing...done.
                                               IMI: Testing...\
Fail: Value out of tolerance range (0.182306,0.00352113)
Fail: doRangeTestFixSize diff data for idx=0 (4.377852e+01,5.353902e+01)
Fail: doRangeTestFixSize (245,245,245,1,1)
Fail: doRangeTestFixSize refOutBeg,refOutNbElement (4,248)
Fail: Diff 22.2952 %
Fail: Using unstable period 241
Failed: For output #1 of 1
./dev/ta-lib/ta-lib/c/src/tools/ta_regtest/ta_test_func/test_imi.c Failed Test #0 (Code=161)

It's a simple function. Any ideas what could cause the problem?

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.