|
|
16bb726 |
diff -rupN cpp/tests/test_c.cpp cpp-new/tests/test_c.cpp
|
|
|
574f776 |
--- cpp/tests/test_c.cpp 2019-02-20 16:34:14.000000000 +0100
|
|
|
574f776 |
+++ cpp-new/tests/test_c.cpp 2019-02-23 17:32:31.243746932 +0100
|
|
|
574f776 |
@@ -3687,8 +3687,8 @@ ae_bool testhqrnd(ae_bool silent, ae_sta
|
|
|
16bb726 |
/*
|
|
|
16bb726 |
*Discrete/Continuous tests
|
|
|
16bb726 |
*/
|
|
|
16bb726 |
- discreteerr = hqrnddiscretetest(ae_true, _state);
|
|
|
16bb726 |
- continuouserr = hqrndcontinuoustest(ae_true, _state);
|
|
|
16bb726 |
+ discreteerr = hqrnddiscretetest(ae_false, _state);
|
|
|
16bb726 |
+ continuouserr = hqrndcontinuoustest(ae_false, _state);
|
|
|
16bb726 |
|
|
|
16bb726 |
/*
|
|
|
16bb726 |
* Final report
|
|
|
574f776 |
@@ -4356,8 +4356,8 @@ ae_bool testsparse(ae_bool silent, ae_st
|
|
|
16bb726 |
linearserrors = linearfunctionsstest(_state);
|
|
|
16bb726 |
linearmmerrors = linearfunctionsmmtest(_state);
|
|
|
16bb726 |
linearsmmerrors = linearfunctionssmmtest(_state);
|
|
|
16bb726 |
- copyerrors = copyfunctest(ae_true, _state)||testsparseunit_testconvertsm(_state);
|
|
|
16bb726 |
- basiccopyerrors = basiccopyfunctest(ae_true, _state);
|
|
|
16bb726 |
+ copyerrors = copyfunctest(ae_false, _state)||testsparseunit_testconvertsm(_state);
|
|
|
16bb726 |
+ basiccopyerrors = basiccopyfunctest(ae_false, _state);
|
|
|
16bb726 |
enumerateerrors = testsparseunit_enumeratetest(_state);
|
|
|
16bb726 |
rewriteexistingerr = testsparseunit_rewriteexistingtest(_state);
|
|
|
16bb726 |
testsparseunit_testgetrow(&getrowerrors, _state);
|
|
|
574f776 |
@@ -33206,14 +33206,14 @@ ae_bool testlinlsqr(ae_bool silent, ae_s
|
|
|
16bb726 |
|
|
|
16bb726 |
|
|
|
574f776 |
termreqerrors = ae_false;
|
|
|
16bb726 |
- svdtesterrors = testlinlsqrunit_svdtest(ae_true, _state);
|
|
|
16bb726 |
- mwcranksvderr = testlinlsqrunit_mwcranksvdtest(ae_true, _state);
|
|
|
16bb726 |
- mwicranksvderr = testlinlsqrunit_mwicranksvdtest(ae_true, _state);
|
|
|
16bb726 |
- bidiagonalerr = testlinlsqrunit_bidiagonaltest(ae_true, _state);
|
|
|
16bb726 |
- zeromatrixerr = testlinlsqrunit_zeromatrixtest(ae_true, _state);
|
|
|
16bb726 |
- reportcorrectnesserr = testlinlsqrunit_reportcorrectnesstest(ae_true, _state);
|
|
|
16bb726 |
- stoppingcriteriaerr = testlinlsqrunit_stoppingcriteriatest(ae_true, _state);
|
|
|
16bb726 |
- analytictesterrors = testlinlsqrunit_analytictest(ae_true, _state);
|
|
|
16bb726 |
+ svdtesterrors = testlinlsqrunit_svdtest(ae_false, _state);
|
|
|
16bb726 |
+ mwcranksvderr = testlinlsqrunit_mwcranksvdtest(ae_false, _state);
|
|
|
16bb726 |
+ mwicranksvderr = testlinlsqrunit_mwicranksvdtest(ae_false, _state);
|
|
|
16bb726 |
+ bidiagonalerr = testlinlsqrunit_bidiagonaltest(ae_false, _state);
|
|
|
16bb726 |
+ zeromatrixerr = testlinlsqrunit_zeromatrixtest(ae_false, _state);
|
|
|
16bb726 |
+ reportcorrectnesserr = testlinlsqrunit_reportcorrectnesstest(ae_false, _state);
|
|
|
16bb726 |
+ stoppingcriteriaerr = testlinlsqrunit_stoppingcriteriatest(ae_false, _state);
|
|
|
16bb726 |
+ analytictesterrors = testlinlsqrunit_analytictest(ae_false, _state);
|
|
|
16bb726 |
prectesterrors = testlinlsqrunit_preconditionertest(_state);
|
|
|
574f776 |
testlinlsqrunit_testterminationrequests(&termreqerrors, _state);
|
|
|
16bb726 |
|
|
|
574f776 |
@@ -81685,9 +81685,9 @@ ae_bool testfilters(ae_bool silent, ae_s
|
|
|
3c8a9c8 |
ae_bool result;
|
|
|
3c8a9c8 |
|
|
|
3c8a9c8 |
|
|
|
3c8a9c8 |
- smaerrors = testsma(ae_true, _state);
|
|
|
3c8a9c8 |
- emaerrors = testema(ae_true, _state);
|
|
|
3c8a9c8 |
- lrmaerrors = testlrma(ae_true, _state);
|
|
|
3c8a9c8 |
+ smaerrors = testsma(ae_false, _state);
|
|
|
3c8a9c8 |
+ emaerrors = testema(ae_false, _state);
|
|
|
3c8a9c8 |
+ lrmaerrors = testlrma(ae_false, _state);
|
|
|
16bb726 |
|
|
|
16bb726 |
/*
|
|
|
3c8a9c8 |
* Final report
|
|
|
574f776 |
@@ -101357,7 +101357,7 @@ static ae_bool testspline3dunit_basictes
|
|
|
16bb726 |
* Prepare a model and check that functions (Spline3DBuildTrilinear,
|
|
|
16bb726 |
* Spline3DCalc,Spline3DCalcV) work correctly and
|
|
|
16bb726 |
*/
|
|
|
16bb726 |
- testspline3dunit_buildrndgrid(ae_true, ae_true, &n, &m, &l, &d, &x, &y, &z, &vf, _state);
|
|
|
16bb726 |
+ testspline3dunit_buildrndgrid(ae_false, ae_true, &n, &m, &l, &d, &x, &y, &z, &vf, _state);
|
|
|
16bb726 |
rvectorsetlengthatleast(&sf, n*m*l, _state);
|
|
|
16bb726 |
|
|
|
16bb726 |
/*
|
|
|
574f776 |
@@ -101469,7 +101469,7 @@ static ae_bool testspline3dunit_testunpa
|
|
|
16bb726 |
* NOTE: for this test we need ordered grid, i.e. grid
|
|
|
16bb726 |
* with nodes in ascending order
|
|
|
16bb726 |
*/
|
|
|
16bb726 |
- testspline3dunit_buildrndgrid(ae_true, ae_false, &n, &m, &l, &d, &x, &y, &z, &vf, _state);
|
|
|
16bb726 |
+ testspline3dunit_buildrndgrid(ae_false, ae_false, &n, &m, &l, &d, &x, &y, &z, &vf, _state);
|
|
|
16bb726 |
sz = n*m*l;
|
|
|
16bb726 |
rvectorsetlengthatleast(&sf, sz, _state);
|
|
|
16bb726 |
spline3dbuildtrilinearv(&x, n, &y, m, &z, l, &vf, d, &c, _state);
|
|
|
574f776 |
@@ -101628,7 +101628,7 @@ static ae_bool testspline3dunit_testlint
|
|
|
16bb726 |
passcount = 15;
|
|
|
16bb726 |
for(pass=1; pass<=passcount; pass++)
|
|
|
16bb726 |
{
|
|
|
16bb726 |
- testspline3dunit_buildrndgrid(ae_true, ae_false, &n, &m, &l, &d, &x, &y, &z, &f, _state);
|
|
|
16bb726 |
+ testspline3dunit_buildrndgrid(ae_false, ae_false, &n, &m, &l, &d, &x, &y, &z, &f, _state);
|
|
|
16bb726 |
spline3dbuildtrilinearv(&x, n, &y, m, &z, l, &f, d, &c, _state);
|
|
|
16bb726 |
for(xjob=0; xjob<=1; xjob++)
|
|
|
16bb726 |
{
|
|
|
574f776 |
@@ -108404,8 +108404,8 @@ ae_bool testspline2d(ae_bool silent, ae_
|
|
|
3c8a9c8 |
/*
|
|
|
3c8a9c8 |
* Test for vector-function
|
|
|
3c8a9c8 |
*/
|
|
|
3c8a9c8 |
- vferrors = testspline2dunit_testspline2dvf(ae_true, _state);
|
|
|
3c8a9c8 |
-
|
|
|
3c8a9c8 |
+ vferrors = testspline2dunit_testspline2dvf(ae_false, _state);
|
|
|
3c8a9c8 |
+
|
|
|
3c8a9c8 |
/*
|
|
|
3c8a9c8 |
* Report
|
|
|
3c8a9c8 |
*/
|
|
|
574f776 |
@@ -111166,7 +111166,7 @@ ae_bool testrbf(ae_bool silent, ae_state
|
|
|
3c8a9c8 |
basicrbferrors = testrbfunit_basicrbftest(_state);
|
|
|
3c8a9c8 |
irregularrbferrors = testrbfunit_irregularrbftest(_state);
|
|
|
3c8a9c8 |
linearitymodelrbferr = testrbfunit_linearitymodelrbftest(_state);
|
|
|
3c8a9c8 |
- sqrdegmatrixrbferr = sqrdegmatrixrbftest(ae_true, _state);
|
|
|
3c8a9c8 |
+ sqrdegmatrixrbferr = sqrdegmatrixrbftest(ae_false, _state);
|
|
|
3c8a9c8 |
multilayerrbf1derrors = ae_false;
|
|
|
3c8a9c8 |
multilayerrbferrors = testrbfunit_basicmultilayerrbftest(_state);
|
|
|
3c8a9c8 |
sererrors = testrbfunit_serializationtest(_state);
|
|
|
574f776 |
@@ -120336,14 +120336,14 @@ ae_bool testlincg(ae_bool silent, ae_sta
|
|
|
16bb726 |
ae_bool result;
|
|
|
16bb726 |
|
|
|
16bb726 |
|
|
|
16bb726 |
- basictestxerrors = testlincgunit_basictestx(ae_true, _state);
|
|
|
16bb726 |
- basictestiterserr = testlincgunit_basictestiters(ae_true, _state);
|
|
|
16bb726 |
- complexreserrors = testlincgunit_complexres(ae_true, _state);
|
|
|
16bb726 |
- complexerrors = testlincgunit_complextest(ae_true, _state);
|
|
|
16bb726 |
- rcorrectness = testlincgunit_testrcorrectness(ae_true, _state);
|
|
|
16bb726 |
- krylovsubspaceerr = testlincgunit_krylovsubspacetest(ae_true, _state);
|
|
|
16bb726 |
- sparseerrors = testlincgunit_sparsetest(ae_true, _state);
|
|
|
16bb726 |
- preconderrors = testlincgunit_precondtest(ae_true, _state);
|
|
|
16bb726 |
+ basictestxerrors = testlincgunit_basictestx(ae_false, _state);
|
|
|
16bb726 |
+ basictestiterserr = testlincgunit_basictestiters(ae_false, _state);
|
|
|
16bb726 |
+ complexreserrors = testlincgunit_complexres(ae_false, _state);
|
|
|
16bb726 |
+ complexerrors = testlincgunit_complextest(ae_false, _state);
|
|
|
16bb726 |
+ rcorrectness = testlincgunit_testrcorrectness(ae_false, _state);
|
|
|
16bb726 |
+ krylovsubspaceerr = testlincgunit_krylovsubspacetest(ae_false, _state);
|
|
|
16bb726 |
+ sparseerrors = testlincgunit_sparsetest(ae_false, _state);
|
|
|
16bb726 |
+ preconderrors = testlincgunit_precondtest(ae_false, _state);
|
|
|
16bb726 |
|
|
|
16bb726 |
/*
|
|
|
16bb726 |
* report
|