131 lines
6.6 KiB
Diff
131 lines
6.6 KiB
Diff
diff -rupN --no-dereference cpp/tests/test_c.cpp cpp-new/tests/test_c.cpp
|
|
--- cpp/tests/test_c.cpp 2019-12-19 11:28:28.000000000 +0100
|
|
+++ cpp-new/tests/test_c.cpp 2019-12-20 00:39:06.467265299 +0100
|
|
@@ -3697,8 +3697,8 @@ ae_bool testhqrnd(ae_bool silent, ae_sta
|
|
/*
|
|
*Discrete/Continuous tests
|
|
*/
|
|
- discreteerr = hqrnddiscretetest(ae_true, _state);
|
|
- continuouserr = hqrndcontinuoustest(ae_true, _state);
|
|
+ discreteerr = hqrnddiscretetest(ae_false, _state);
|
|
+ continuouserr = hqrndcontinuoustest(ae_false, _state);
|
|
|
|
/*
|
|
* Final report
|
|
@@ -4366,8 +4366,8 @@ ae_bool testsparse(ae_bool silent, ae_st
|
|
linearserrors = linearfunctionsstest(_state);
|
|
linearmmerrors = linearfunctionsmmtest(_state);
|
|
linearsmmerrors = linearfunctionssmmtest(_state);
|
|
- copyerrors = copyfunctest(ae_true, _state)||testsparseunit_testconvertsm(_state);
|
|
- basiccopyerrors = basiccopyfunctest(ae_true, _state);
|
|
+ copyerrors = copyfunctest(ae_false, _state)||testsparseunit_testconvertsm(_state);
|
|
+ basiccopyerrors = basiccopyfunctest(ae_false, _state);
|
|
enumerateerrors = testsparseunit_enumeratetest(_state);
|
|
rewriteexistingerr = testsparseunit_rewriteexistingtest(_state);
|
|
testsparseunit_testgetrow(&getrowerrors, _state);
|
|
@@ -33299,14 +33299,14 @@ ae_bool testlinlsqr(ae_bool silent, ae_s
|
|
|
|
|
|
termreqerrors = ae_false;
|
|
- svdtesterrors = testlinlsqrunit_svdtest(ae_true, _state);
|
|
- mwcranksvderr = testlinlsqrunit_mwcranksvdtest(ae_true, _state);
|
|
- mwicranksvderr = testlinlsqrunit_mwicranksvdtest(ae_true, _state);
|
|
- bidiagonalerr = testlinlsqrunit_bidiagonaltest(ae_true, _state);
|
|
- zeromatrixerr = testlinlsqrunit_zeromatrixtest(ae_true, _state);
|
|
- reportcorrectnesserr = testlinlsqrunit_reportcorrectnesstest(ae_true, _state);
|
|
- stoppingcriteriaerr = testlinlsqrunit_stoppingcriteriatest(ae_true, _state);
|
|
- analytictesterrors = testlinlsqrunit_analytictest(ae_true, _state);
|
|
+ svdtesterrors = testlinlsqrunit_svdtest(ae_false, _state);
|
|
+ mwcranksvderr = testlinlsqrunit_mwcranksvdtest(ae_false, _state);
|
|
+ mwicranksvderr = testlinlsqrunit_mwicranksvdtest(ae_false, _state);
|
|
+ bidiagonalerr = testlinlsqrunit_bidiagonaltest(ae_false, _state);
|
|
+ zeromatrixerr = testlinlsqrunit_zeromatrixtest(ae_false, _state);
|
|
+ reportcorrectnesserr = testlinlsqrunit_reportcorrectnesstest(ae_false, _state);
|
|
+ stoppingcriteriaerr = testlinlsqrunit_stoppingcriteriatest(ae_false, _state);
|
|
+ analytictesterrors = testlinlsqrunit_analytictest(ae_false, _state);
|
|
prectesterrors = testlinlsqrunit_preconditionertest(_state);
|
|
testlinlsqrunit_testterminationrequests(&termreqerrors, _state);
|
|
|
|
@@ -84077,9 +84077,9 @@ ae_bool testfilters(ae_bool silent, ae_s
|
|
ae_bool result;
|
|
|
|
|
|
- smaerrors = testsma(ae_true, _state);
|
|
- emaerrors = testema(ae_true, _state);
|
|
- lrmaerrors = testlrma(ae_true, _state);
|
|
+ smaerrors = testsma(ae_false, _state);
|
|
+ emaerrors = testema(ae_false, _state);
|
|
+ lrmaerrors = testlrma(ae_false, _state);
|
|
|
|
/*
|
|
* Final report
|
|
@@ -104989,7 +104989,7 @@ static ae_bool testspline3dunit_basictes
|
|
* Prepare a model and check that functions (Spline3DBuildTrilinear,
|
|
* Spline3DCalc,Spline3DCalcV) work correctly and
|
|
*/
|
|
- testspline3dunit_buildrndgrid(ae_true, ae_true, &n, &m, &l, &d, &x, &y, &z, &vf, _state);
|
|
+ testspline3dunit_buildrndgrid(ae_false, ae_true, &n, &m, &l, &d, &x, &y, &z, &vf, _state);
|
|
rvectorsetlengthatleast(&sf, n*m*l, _state);
|
|
|
|
/*
|
|
@@ -105101,7 +105101,7 @@ static ae_bool testspline3dunit_testunpa
|
|
* NOTE: for this test we need ordered grid, i.e. grid
|
|
* with nodes in ascending order
|
|
*/
|
|
- testspline3dunit_buildrndgrid(ae_true, ae_false, &n, &m, &l, &d, &x, &y, &z, &vf, _state);
|
|
+ testspline3dunit_buildrndgrid(ae_false, ae_false, &n, &m, &l, &d, &x, &y, &z, &vf, _state);
|
|
sz = n*m*l;
|
|
rvectorsetlengthatleast(&sf, sz, _state);
|
|
spline3dbuildtrilinearv(&x, n, &y, m, &z, l, &vf, d, &c, _state);
|
|
@@ -105260,7 +105260,7 @@ static ae_bool testspline3dunit_testlint
|
|
passcount = 15;
|
|
for(pass=1; pass<=passcount; pass++)
|
|
{
|
|
- testspline3dunit_buildrndgrid(ae_true, ae_false, &n, &m, &l, &d, &x, &y, &z, &f, _state);
|
|
+ testspline3dunit_buildrndgrid(ae_false, ae_false, &n, &m, &l, &d, &x, &y, &z, &f, _state);
|
|
spline3dbuildtrilinearv(&x, n, &y, m, &z, l, &f, d, &c, _state);
|
|
for(xjob=0; xjob<=1; xjob++)
|
|
{
|
|
@@ -112036,8 +112036,8 @@ ae_bool testspline2d(ae_bool silent, ae_
|
|
/*
|
|
* Test for vector-function
|
|
*/
|
|
- vferrors = testspline2dunit_testspline2dvf(ae_true, _state);
|
|
-
|
|
+ vferrors = testspline2dunit_testspline2dvf(ae_false, _state);
|
|
+
|
|
/*
|
|
* Report
|
|
*/
|
|
@@ -114798,7 +114798,7 @@ ae_bool testrbf(ae_bool silent, ae_state
|
|
basicrbferrors = testrbfunit_basicrbftest(_state);
|
|
irregularrbferrors = testrbfunit_irregularrbftest(_state);
|
|
linearitymodelrbferr = testrbfunit_linearitymodelrbftest(_state);
|
|
- sqrdegmatrixrbferr = sqrdegmatrixrbftest(ae_true, _state);
|
|
+ sqrdegmatrixrbferr = sqrdegmatrixrbftest(ae_false, _state);
|
|
multilayerrbf1derrors = ae_false;
|
|
multilayerrbferrors = testrbfunit_basicmultilayerrbftest(_state);
|
|
sererrors = testrbfunit_serializationtest(_state);
|
|
@@ -124155,14 +124155,14 @@ ae_bool testlincg(ae_bool silent, ae_sta
|
|
ae_bool result;
|
|
|
|
|
|
- basictestxerrors = testlincgunit_basictestx(ae_true, _state);
|
|
- basictestiterserr = testlincgunit_basictestiters(ae_true, _state);
|
|
- complexreserrors = testlincgunit_complexres(ae_true, _state);
|
|
- complexerrors = testlincgunit_complextest(ae_true, _state);
|
|
- rcorrectness = testlincgunit_testrcorrectness(ae_true, _state);
|
|
- krylovsubspaceerr = testlincgunit_krylovsubspacetest(ae_true, _state);
|
|
- sparseerrors = testlincgunit_sparsetest(ae_true, _state);
|
|
- preconderrors = testlincgunit_precondtest(ae_true, _state);
|
|
+ basictestxerrors = testlincgunit_basictestx(ae_false, _state);
|
|
+ basictestiterserr = testlincgunit_basictestiters(ae_false, _state);
|
|
+ complexreserrors = testlincgunit_complexres(ae_false, _state);
|
|
+ complexerrors = testlincgunit_complextest(ae_false, _state);
|
|
+ rcorrectness = testlincgunit_testrcorrectness(ae_false, _state);
|
|
+ krylovsubspaceerr = testlincgunit_krylovsubspacetest(ae_false, _state);
|
|
+ sparseerrors = testlincgunit_sparsetest(ae_false, _state);
|
|
+ preconderrors = testlincgunit_precondtest(ae_false, _state);
|
|
|
|
/*
|
|
* report
|