Consolidate Python ignore rules into root gitignore

This commit is contained in:
Hiroaki86
2026-05-27 23:01:28 +09:00
commit fa3394415d
399 changed files with 509103 additions and 0 deletions
+716
View File
@@ -0,0 +1,716 @@
//+------------------------------------------------------------------+
//| TestClasses.mq5 |
//| Copyright 2003-2022 Sergey Bochkanov (ALGLIB project) |
//| Copyright 2012-2026, MetaQuotes Ltd. |
//| www.mql5.com |
//+------------------------------------------------------------------+
//| Implementation of ALGLIB library in MetaQuotes Language 5 |
//| |
//| The features of the library include: |
//| - Linear algebra (direct algorithms, EVD, SVD) |
//| - Solving systems of linear and non-linear equations |
//| - Interpolation |
//| - Optimization |
//| - FFT (Fast Fourier Transform) |
//| - Numerical integration |
//| - Linear and nonlinear least-squares fitting |
//| - Ordinary differential equations |
//| - Computation of special functions |
//| - Descriptive statistics and hypothesis testing |
//| - Data analysis - classification, regression |
//| - Implementing linear algebra algorithms, interpolation, etc. |
//| in high-precision arithmetic (using MPFR) |
//| |
//| This file is free software; you can redistribute it and/or |
//| modify it under the terms of the GNU General Public License as |
//| published by the Free Software Foundation (www.fsf.org); either |
//| version 2 of the License, or (at your option) any later version. |
//| |
//| This program is distributed in the hope that it will be useful, |
//| but WITHOUT ANY WARRANTY; without even the implied warranty of |
//| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
//| GNU General Public License for more details. |
//+------------------------------------------------------------------+
#define PrintElapsed(function,check,elapsed) PrintFormat("%-40s: %10s in %14s",function,(check ? "PASSED " : "- FAILED -"),elapsed);
#include "TestClasses.mqh"
#ifndef _DEBUG
#property script_show_inputs
#endif
input bool InpSilent=true; // Do not show extended log
input uint InpSeed=UINT_MAX; // Random seed
//+------------------------------------------------------------------+
//| Testing script |
//+------------------------------------------------------------------+
void OnStart()
{
bool check;
ulong start_mcs;
ulong stop_mcs;
//--- initialization
bool silent=InpSilent;
uint seed=GetTickCount();
if(InpSeed!=UINT_MAX)
seed=InpSeed;
//--- seed
PrintFormat("RandomSeed = %u",seed);
//--- start time
datetime start_time=TimeLocal();
//--- check class CHighQualityRand // 1
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestHQRndUnit::TestHQRnd(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CHighQualityRand",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CTSort // 2
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestTSortUnit::TestTSort(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CTSort",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CNearestNeighbor // 3
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestNearestNeighborUnit::TestNearestNeighbor(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CNearestNeighbor",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CAblas // 4
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestAblasUnit::TestAblas(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CAblas",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CBaseStat // 5
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestBaseStatUnit::TestBaseStat(seed);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CBaseStat",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CBdSS // 6
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestBdSSUnit::TestBdSS(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CBdSS",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CDForest // 7
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestDForestUnit::TestDForest(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CDForest",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CBlas // 8
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestBlasUnit::TestBlas(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CBlas",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CKMeans // 9
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestKMeansUnit::TestKMeans(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CKMeans",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CHblas // 10
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestHblasUnit::TestHblas(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CHblas",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CReflections // 11
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestReflectionsUnit::TestReflections(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CReflections",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CComplexReflections // 12
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestCReflectionsUnit::TestCReflections(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CComplexReflections",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CSblas // 13
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestSblasUnit::TestSblas(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CSblas",check,GetElapsed(stop_mcs-start_mcs));
//--- check class COrtFac // 14
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestOrtFacUnit::TestOrtFac(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("COrtFac",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CEigenVDetect // 15
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestEVDUnit::TestEVD(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CEigenVDetect",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CMatGen // 16
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestMatGenUnit::TestMatGen(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CMatGen",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CTrFac // 17
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestTrFacUnit::TestTrFac(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CTrFac",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CTrLinSolve // 18
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestTrLinSolveUnit::TestTrLinSolve(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CTrLinSolve",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CSafeSolve // 19
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestSafeSolveUnit::TestSafeSolve(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CSafeSolve",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CRCond // 20
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestRCondUnit::TestRCond(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CRCond",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CMatInv // 21
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestMatInvUnit::TestMatInv(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CMatInv",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CLDA // 22
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestLDAUnit::TestLDA(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CLDA",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CGammaFunc // 23
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestGammaFuncUnit::TestGammaFunc(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CGammaFunc",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CBdSingValueDecompose // 24
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestBdSVDUnit::TestBdSVD(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CBdSingValueDecompose",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CSingValueDecompose // 25
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestSVDUnit::TestSVD(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CSingValueDecompose",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CLinReg // 26
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestLinRegUnit::TestLinReg(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CLinReg",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CXblas // 27
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestXBlasUnit::TestXBlas(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CXblas",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CDenseSolver // 28
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestDenseSolverUnit::TestDenseSolver(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CDenseSolver",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CMinCG // 30
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestMinCGUnit::TestMinCG(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CMinCG",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CMinBLEIC // 31
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestMinBLEICUnit::TestMinBLEIC(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CMinBLEIC",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CMarkovCPD // 32
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestMCPDUnit::TestMCPD(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CMarkovCPD",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CFbls // 33
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestFblsUnit::TestFbls(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CFbls",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CMinLBFGS // 34
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestMinLBFGSUnit::TestMinLBFGS(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CMinLBFGS",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CMLPTrain // 35
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestMLPTrainUnit::TestMLPTrain(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CMLPTrain",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CMLPE // 36
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestMLPEUnit::TestMLPE(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CMLPE",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CPCAnalysis // 37
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestPCAUnit::TestPCA(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CPCAnalysis",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CODESolver // 38
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestODESolverUnit::TestODESolver(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CODESolver",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CFastFourierTransform // 39
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestFFTUnit::TestFFT(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CFastFourierTransform",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CConv // 40
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestConvUnit::TestConv(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CConv",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CCorr // 41
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestCorrUnit::TestCorr(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CCorr",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CFastHartleyTransform // 42
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestFHTUnit::TestFHT(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CFastHartleyTransform",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CGaussQ // 43
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestGQUnit::TestGQ(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CGaussQ",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CGaussKronrodQ // 44
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestGKQUnit::TestGKQ(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CGaussKronrodQ",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CAutoGK // 45
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestAutoGKUnit::TestAutoGK(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CAutoGK",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CIDWInt // 46
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestIDWIntUnit::TestIDWInt(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CIDWInt",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CRatInt // 47
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestRatIntUnit::TestRatInt(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CRatInt",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CPolInt // 48
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestPolIntUnit::TestPolInt(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CPolInt",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CSpline1D // 49
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestSpline1DUnit::TestSpline1D(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CSpline1D",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CMinLM // 50
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestMinLMUnit::TestMinLM(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CMinLM",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CLSFit // 51
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestLSFitUnit::TestLSFit(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CLSFit",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CPSpline // 52
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestPSplineUnit::TestPSpline(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CPSpline",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CSpline2D // 53
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestSpline2DUnit::TestSpline2D(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CSpline2D",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CSpdGEVD // 54
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestSpdGEVDUnit::TestSpdGEVD(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CSpdGEVD",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CInverseUpdate // 55
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestInverseUpdateUnit::TestInverseUpdate(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CInverseUpdate",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CSchur // 56
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestSchurUnit::TestSchur(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CSchur",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CNlEq // 57
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestNlEqUnit::TestNlEq(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CNlEq",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CChebyshev // 58
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestChebyshevUnit::TestChebyshev(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CChebyshev",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CHermite // 59
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestHermiteUnit::TestHermite(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CHermite",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CLaguerre // 60
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestLaguerreUnit::TestLaguerre(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CLaguerre",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CLegendre // 61
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestLegendreUnit::TestLegendre(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CLegendre",check,GetElapsed(stop_mcs-start_mcs));
//--- check class AlglibBasics // 62
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestAlglibBasicsUnit::TestAlglibBasics(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("AlglibBasics",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CSparse // 63
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestSparseUnit::TestSparse(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CSparse",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CAblasF // 64
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestAblasFUnit::TestAblasF(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CAblasF",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CPolynomialSolver // 65
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestPolynomialSolverUnit::TestPolynomialSolver(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CPolynomialSolver",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CDirectSparseSolvers // 66
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestDirectSparseSolversUnit::TestDirectSparseSolvers(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CDirectSparseSolvers",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CIterativeSparse // 67
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestIterativeSparseUnit::TestIterativeSparse(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CIterativeSparse",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CLinCG // 68
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestLinCGUnit::TestLinCG(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CLinCG",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CNormEstimator // 69
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestNormEstimatorUnit::TestNormEstimator(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CNormEstimator",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CLinLSQR // 70
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestLinLSQRUnit::TestLinLSQR(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CLinLSQR",check,GetElapsed(stop_mcs-start_mcs));
//--- check class COptServ // 71
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestOptservUnit::TestOptserv(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("COptServ",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CCQModels // 72
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestCQModelsUnit::TestCQModels(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CCQModels",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CSNNLS // 73
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestSNNLSUnit::TestSNNLS(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CSNNLS",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CSActiveSets // 74
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestSActiveSetsUnit::TestSActiveSets(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CSActiveSets",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CMinQP // 75
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestMinQPUnit::TestMinQP(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CMinQP",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CMinLP // 76
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestMinLPUnit::TestMinLP(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CMinLP",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CMinNLC // 77
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestMinNLCUnit::TestMinNLC(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CMinNLC",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CMinNS // 78
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestMinNSUnit::TestMinNS(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CMinNS",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CMinBC // 79
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestMinBCUnit::TestMinBC(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CMinBC",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CNormalDistr // 80
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestNormalDistrUnit::TestNormalDistr(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CNormalDistr",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CWilcoxonSignedRank // 81
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestWSRUnit::TestWSR(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CWilcoxonSignedRank",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CMannWhitneyU // 82
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestMannWhitneyUUnit::TestMannWhitneyU(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CMannWhitneyU",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CSignTest // 83
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestSTestUnit::TestSTest(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CSignTest",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CStudentTests // 84
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestStudentTestsUnit::TestStudentTests(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CStudentTests",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CFitSphere // 85
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestFitSphereUnit::TestFitSphere(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CFitSphere",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CSpline3D // 86
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestSpline3DUnit::TestSpline3D(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CSpline3D",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CRBF // 87
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestRBFUnit::TestRBF(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CRBF",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CMLPBase // 88
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestMLPBaseUnit::TestMLPBase(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CMLPBase",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CFilters // 89
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestFiltersUnit::TestFilters(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CFilters",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CSSA // 90
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestSSAUnit::TestSSA(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CSSA",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CKNN // 91
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestKNNUnit::TestKNN(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CKNN",check,GetElapsed(stop_mcs-start_mcs));
//--- check class CClustering // 92
_RandomSeed=seed;
start_mcs=GetMicrosecondCount();
check=CTestClusteringUnit::TestClustering(silent);
stop_mcs=GetMicrosecondCount();
PrintElapsed("CClustering",check,GetElapsed(stop_mcs-start_mcs));
//--- finish time
ulong elapsed_time=TimeLocal()-start_time;
int seconds=(int)elapsed_time%60;
int minutes=(int)elapsed_time/60;
PrintFormat("Test passed in %d min %02d sec",minutes,seconds);
}
//+------------------------------------------------------------------+
//| |
//+------------------------------------------------------------------+
string GetElapsed(ulong microseconds)
{
int sec=int(microseconds/1000000);
int mcs=int(microseconds%1000000);
string elapsed=StringFormat("%d.%06d sec",sec,mcs);
return(elapsed);
}
//+------------------------------------------------------------------+
File diff suppressed because it is too large Load Diff
+365
View File
@@ -0,0 +1,365 @@
//+------------------------------------------------------------------+
//| TestInterfaces.mq5 |
//| Copyright 2003-2022 Sergey Bochkanov (ALGLIB project) |
//| Copyright 2012-2026, MetaQuotes Ltd. |
//| www.mql5.com |
//+------------------------------------------------------------------+
//| Implementation of ALGLIB library in MetaQuotes Language 5 |
//| |
//| The features of the library include: |
//| - Linear algebra (direct algorithms, EVD, SVD) |
//| - Solving systems of linear and non-linear equations |
//| - Interpolation |
//| - Optimization |
//| - FFT (Fast Fourier Transform) |
//| - Numerical integration |
//| - Linear and nonlinear least-squares fitting |
//| - Ordinary differential equations |
//| - Computation of special functions |
//| - Descriptive statistics and hypothesis testing |
//| - Data analysis - classification, regression |
//| - Implementing linear algebra algorithms, interpolation, etc. |
//| in high-precision arithmetic (using MPFR) |
//| |
//| This program is free software; you can redistribute it and/or |
//| modify it under the terms of the GNU General Public License as |
//| published by the Free Software Foundation (www.fsf.org); either |
//| version 2 of the License, or (at your option) any later version. |
//| |
//| This program is distributed in the hope that it will be useful, |
//| but WITHOUT ANY WARRANTY; without even the implied warranty of |
//| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
//| GNU General Public License for more details. |
//+------------------------------------------------------------------+
#include "TestInterfaces.mqh"
#define CHECK_RESULT if(!_TestResult) PrintFormat("Test %d failed",test); test++;
//+------------------------------------------------------------------+
//| Testing script |
//+------------------------------------------------------------------+
void OnStart()
{
//--- total result
bool _TotalResult=true;
//--- test result
bool _TestResult;
int test=1;
//--- spoil scenario
int _spoil_scenario;
Print("MQL5 interface tests. Please wait...");
Print("0/152");
//--- testing
TEST_Ablas_D_Gemm(_spoil_scenario,_TestResult,_TotalResult); //1
CHECK_RESULT
TEST_Ablas_D_Syrk(_spoil_scenario,_TestResult,_TotalResult); //2
CHECK_RESULT
TEST_Ablas_T_Complex(_spoil_scenario,_TestResult,_TotalResult); //3
CHECK_RESULT
TEST_Sparse_D_1(_spoil_scenario,_TestResult,_TotalResult); //4
CHECK_RESULT
TEST_Sparse_D_CRS(_spoil_scenario,_TestResult,_TotalResult); //5
CHECK_RESULT
TEST_SolveSKS_D_1(_spoil_scenario,_TestResult,_TotalResult); //6
CHECK_RESULT
TEST_LinCG_D_1(_spoil_scenario,_TestResult,_TotalResult); //7
CHECK_RESULT
TEST_LinLSQR_D_1(_spoil_scenario,_TestResult,_TotalResult); //8
CHECK_RESULT
TEST_NNeighbor_D_1(_spoil_scenario,_TestResult,_TotalResult); //9
CHECK_RESULT
TEST_NNeighbor_T_2(_spoil_scenario,_TestResult,_TotalResult); //10
CHECK_RESULT
TEST_NNeighbor_D_2(_spoil_scenario,_TestResult,_TotalResult); //11
CHECK_RESULT
TEST_BaseStat_D_Base(_spoil_scenario,_TestResult,_TotalResult); //12
CHECK_RESULT
TEST_BaseStat_D_C2(_spoil_scenario,_TestResult,_TotalResult); //13
CHECK_RESULT
TEST_BaseStat_D_CM(_spoil_scenario,_TestResult,_TotalResult); //14
CHECK_RESULT
TEST_BaseStat_D_CM2(_spoil_scenario,_TestResult,_TotalResult); //15
CHECK_RESULT
TEST_BaseStat_T_Base(_spoil_scenario,_TestResult,_TotalResult); //16
CHECK_RESULT
TEST_BaseStat_T_CovCorr(_spoil_scenario,_TestResult,_TotalResult); //17
CHECK_RESULT
TEST_MatInv_D_R1(_spoil_scenario,_TestResult,_TotalResult); //18
CHECK_RESULT
TEST_MatInv_D_C1(_spoil_scenario,_TestResult,_TotalResult); //19
CHECK_RESULT
TEST_MatInv_D_SPD1(_spoil_scenario,_TestResult,_TotalResult); //20
CHECK_RESULT
TEST_MatInv_D_HPD1(_spoil_scenario,_TestResult,_TotalResult); //21
CHECK_RESULT
TEST_MatInv_T_R1(_spoil_scenario,_TestResult,_TotalResult); //22
CHECK_RESULT
TEST_MatInv_T_C1(_spoil_scenario,_TestResult,_TotalResult); //23
CHECK_RESULT
TEST_MatInv_E_SPD1(_spoil_scenario,_TestResult,_TotalResult); //24
CHECK_RESULT
TEST_MatInv_E_HPD1(_spoil_scenario,_TestResult,_TotalResult); //25
CHECK_RESULT
TEST_MinCG_D_1(_spoil_scenario,_TestResult,_TotalResult); //26
CHECK_RESULT
TEST_MinCG_D_2(_spoil_scenario,_TestResult,_TotalResult); //27
CHECK_RESULT
TEST_MinCG_NumDiff(_spoil_scenario,_TestResult,_TotalResult); //28
CHECK_RESULT
TEST_MinCG_FTRIM(_spoil_scenario,_TestResult,_TotalResult); //29
CHECK_RESULT
TEST_MinBLEIC_D_1(_spoil_scenario,_TestResult,_TotalResult); //30
CHECK_RESULT
TEST_MinBLEIC_D_2(_spoil_scenario,_TestResult,_TotalResult); //31
CHECK_RESULT
TEST_MinBLEIC_NumDiff(_spoil_scenario,_TestResult,_TotalResult); //32
CHECK_RESULT
TEST_MinBLEIC_FTRIM(_spoil_scenario,_TestResult,_TotalResult); //33
CHECK_RESULT
TEST_MCPD_Simple1(_spoil_scenario,_TestResult,_TotalResult); //34
CHECK_RESULT
TEST_MCPD_Simple2(_spoil_scenario,_TestResult,_TotalResult); //35
CHECK_RESULT
TEST_MinLBFGS_D_1(_spoil_scenario,_TestResult,_TotalResult); //36
CHECK_RESULT
TEST_MinLBFGS_D_2(_spoil_scenario,_TestResult,_TotalResult); //37
CHECK_RESULT
TEST_MinLBFGS_NumDiff(_spoil_scenario,_TestResult,_TotalResult); //38
CHECK_RESULT
TEST_MinLBFGS_FTRIM(_spoil_scenario,_TestResult,_TotalResult); //39
CHECK_RESULT
TEST_ODESolver_D1(_spoil_scenario,_TestResult,_TotalResult); //40
CHECK_RESULT
TEST_FFT_Complex_D1(_spoil_scenario,_TestResult,_TotalResult); //41
CHECK_RESULT
TEST_FFT_Complex_D2(_spoil_scenario,_TestResult,_TotalResult); //42
CHECK_RESULT
TEST_FFT_Real_D1(_spoil_scenario,_TestResult,_TotalResult); //43
CHECK_RESULT
TEST_FFT_Real_D2(_spoil_scenario,_TestResult,_TotalResult); //44
CHECK_RESULT
TEST_FFT_Complex_E1(_spoil_scenario,_TestResult,_TotalResult); //45
CHECK_RESULT
TEST_AutoGK_D1(_spoil_scenario,_TestResult,_TotalResult); //46
CHECK_RESULT
TEST_PolInt_D_CalcDiff(_spoil_scenario,_TestResult,_TotalResult); //47
CHECK_RESULT
TEST_PolInt_D_Conv(_spoil_scenario,_TestResult,_TotalResult); //48
CHECK_RESULT
TEST_PolInt_D_Spec(_spoil_scenario,_TestResult,_TotalResult); //49
CHECK_RESULT
TEST_PolInt_T_1(_spoil_scenario,_TestResult,_TotalResult); //50
CHECK_RESULT
//--- 50 blocks were successful
Print("50/152");
TEST_PolInt_T_2(_spoil_scenario,_TestResult,_TotalResult); //51
CHECK_RESULT
TEST_PolInt_T_3(_spoil_scenario,_TestResult,_TotalResult); //52
CHECK_RESULT
TEST_PolInt_T_4(_spoil_scenario,_TestResult,_TotalResult); //53
CHECK_RESULT
TEST_PolInt_T_5(_spoil_scenario,_TestResult,_TotalResult); //54
CHECK_RESULT
TEST_PolInt_T_6(_spoil_scenario,_TestResult,_TotalResult); //55
CHECK_RESULT
TEST_PolInt_T_7(_spoil_scenario,_TestResult,_TotalResult); //56
CHECK_RESULT
TEST_PolInt_T_8(_spoil_scenario,_TestResult,_TotalResult); //57
CHECK_RESULT
TEST_PolInt_T_9(_spoil_scenario,_TestResult,_TotalResult); //58
CHECK_RESULT
TEST_PolInt_T_10(_spoil_scenario,_TestResult,_TotalResult); //59
CHECK_RESULT
TEST_PolInt_T_11(_spoil_scenario,_TestResult,_TotalResult); //60
CHECK_RESULT
TEST_PolInt_T_12(_spoil_scenario,_TestResult,_TotalResult); //61
CHECK_RESULT
TEST_PolInt_T_13(_spoil_scenario,_TestResult,_TotalResult); //62
CHECK_RESULT
TEST_Spline1D_D_Linear(_spoil_scenario,_TestResult,_TotalResult); //63
CHECK_RESULT
TEST_Spline1D_D_Cubic(_spoil_scenario,_TestResult,_TotalResult); //64
CHECK_RESULT
TEST_Spline1D_D_GridDiff(_spoil_scenario,_TestResult,_TotalResult); //65
CHECK_RESULT
TEST_Spline1D_D_ConvDiff(_spoil_scenario,_TestResult,_TotalResult); //66
CHECK_RESULT
TEST_MinQP_D_U1(_spoil_scenario,_TestResult,_TotalResult); //67
CHECK_RESULT
TEST_MinQP_D_BC1(_spoil_scenario,_TestResult,_TotalResult); //68
CHECK_RESULT
TEST_MinLM_D_V(_spoil_scenario,_TestResult,_TotalResult); //69
CHECK_RESULT
TEST_MinLM_D_VJ(_spoil_scenario,_TestResult,_TotalResult); //70
CHECK_RESULT
TEST_MinLM_D_FGH(_spoil_scenario,_TestResult,_TotalResult); //71
CHECK_RESULT
TEST_MinLM_D_VB(_spoil_scenario,_TestResult,_TotalResult); //72
CHECK_RESULT
TEST_MinLM_D_Restarts(_spoil_scenario,_TestResult,_TotalResult); //73
CHECK_RESULT
TEST_MinLM_T_1(_spoil_scenario,_TestResult,_TotalResult); //74
CHECK_RESULT
TEST_MinLM_T_2(_spoil_scenario,_TestResult,_TotalResult); //75
CHECK_RESULT
TEST_LSFit_D_NLF(_spoil_scenario,_TestResult,_TotalResult); //76
CHECK_RESULT
TEST_LSFit_D_NLFG(_spoil_scenario,_TestResult,_TotalResult); //77
CHECK_RESULT
TEST_LSFit_D_NLFGH(_spoil_scenario,_TestResult,_TotalResult); //78
CHECK_RESULT
TEST_LSFit_D_NLFB(_spoil_scenario,_TestResult,_TotalResult); //79
CHECK_RESULT
TEST_LSFit_D_NLScale(_spoil_scenario,_TestResult,_TotalResult); //80
CHECK_RESULT
TEST_LSFit_D_Lin(_spoil_scenario,_TestResult,_TotalResult); //81
CHECK_RESULT
TEST_LSFit_D_Linc(_spoil_scenario,_TestResult,_TotalResult); //82
CHECK_RESULT
TEST_LSFit_D_Pol(_spoil_scenario,_TestResult,_TotalResult); //83
CHECK_RESULT
TEST_LSFit_D_Polc(_spoil_scenario,_TestResult,_TotalResult); //84
CHECK_RESULT
TEST_LSFit_D_Spline(_spoil_scenario,_TestResult,_TotalResult); //85
CHECK_RESULT
TEST_LSFit_T_PolFit_1(_spoil_scenario,_TestResult,_TotalResult); //86
CHECK_RESULT
TEST_LSFit_T_PolFit_2(_spoil_scenario,_TestResult,_TotalResult); //87
CHECK_RESULT
TEST_LSFit_T_PolFit_3(_spoil_scenario,_TestResult,_TotalResult); //88
CHECK_RESULT
TEST_MatDet_D_1(_spoil_scenario,_TestResult,_TotalResult); //89
CHECK_RESULT
TEST_MatDet_D_2(_spoil_scenario,_TestResult,_TotalResult); //90
CHECK_RESULT
TEST_MatDet_D_3(_spoil_scenario,_TestResult,_TotalResult); //91
CHECK_RESULT
TEST_MatDet_D_4(_spoil_scenario,_TestResult,_TotalResult); //92
CHECK_RESULT
TEST_MatDet_D_5(_spoil_scenario,_TestResult,_TotalResult); //93
CHECK_RESULT
TEST_MatDet_T_0(_spoil_scenario,_TestResult,_TotalResult); //94
CHECK_RESULT
TEST_MatDet_T_1(_spoil_scenario,_TestResult,_TotalResult); //95
CHECK_RESULT
TEST_MatDet_T_2(_spoil_scenario,_TestResult,_TotalResult); //96
CHECK_RESULT
TEST_MatDet_T_3(_spoil_scenario,_TestResult,_TotalResult); //97
CHECK_RESULT
TEST_MatDet_T_4(_spoil_scenario,_TestResult,_TotalResult); //98
CHECK_RESULT
TEST_MatDet_T_5(_spoil_scenario,_TestResult,_TotalResult); //99
CHECK_RESULT
TEST_MinQP_D_LC1(_spoil_scenario,_TestResult,_TotalResult); //100
CHECK_RESULT
//--- 100 blocks were successful
Print("100/152");
TEST_MinQP_D_U2(_spoil_scenario,_TestResult,_TotalResult); //101
CHECK_RESULT
TEST_MinQP_D_NonConvex(_spoil_scenario,_TestResult,_TotalResult); //102
CHECK_RESULT
TEST_MinLP_Basic(_spoil_scenario,_TestResult,_TotalResult); //103
CHECK_RESULT
TEST_MinNLC_D_Inequality(_spoil_scenario,_TestResult,_TotalResult); //104
CHECK_RESULT
TEST_MinBC_D_1(_spoil_scenario,_TestResult,_TotalResult); //105
CHECK_RESULT
TEST_MinBC_NumDif(_spoil_scenario,_TestResult,_TotalResult); //106
CHECK_RESULT
TEST_IDW_D_MSTAB(_spoil_scenario,_TestResult,_TotalResult); //107
CHECK_RESULT
TEST_IDW_D_Serialize(_spoil_scenario,_TestResult,_TotalResult); //108
CHECK_RESULT
TEST_Parametric_RDP(_spoil_scenario,_TestResult,_TotalResult); //109
CHECK_RESULT
TEST_Spline2D_Bilinear(_spoil_scenario,_TestResult,_TotalResult); //110
CHECK_RESULT
TEST_Spline2D_Bicubic(_spoil_scenario,_TestResult,_TotalResult); //111
CHECK_RESULT
TEST_Spline2D_Unpack(_spoil_scenario,_TestResult,_TotalResult); //112
CHECK_RESULT
TEST_Spline2D_CopyTrans(_spoil_scenario,_TestResult,_TotalResult); //113
CHECK_RESULT
TEST_Spline3D_Trilinear(_spoil_scenario,_TestResult,_TotalResult); //114
CHECK_RESULT
TEST_Spline3D_Vector(_spoil_scenario,_TestResult,_TotalResult); //115
CHECK_RESULT
TEST_Clst_AHC(_spoil_scenario,_TestResult,_TotalResult); //116
CHECK_RESULT
TEST_Clst_Linkage(_spoil_scenario,_TestResult,_TotalResult); //117
CHECK_RESULT
TEST_Clst_Distance(_spoil_scenario,_TestResult,_TotalResult); //118
CHECK_RESULT
TEST_Clst_KClusters(_spoil_scenario,_TestResult,_TotalResult); //119
CHECK_RESULT
TEST_RandomForest_CLS(_spoil_scenario,_TestResult,_TotalResult); //120
CHECK_RESULT
TEST_RandomForest_Reg(_spoil_scenario,_TestResult,_TotalResult); //121
CHECK_RESULT
TEST_Filters_D_SMA(_spoil_scenario,_TestResult,_TotalResult); //122
CHECK_RESULT
TEST_Filters_D_EMA(_spoil_scenario,_TestResult,_TotalResult); //123
CHECK_RESULT
TEST_Filters_D_LRMA(_spoil_scenario,_TestResult,_TotalResult); //124
CHECK_RESULT
TEST_SSA_D_Basic(_spoil_scenario,_TestResult,_TotalResult); //125
CHECK_RESULT
TEST_SSA_D_Forecast(_spoil_scenario,_TestResult,_TotalResult); //126
CHECK_RESULT
TEST_KNN_Reg(_spoil_scenario,_TestResult,_TotalResult); //127
CHECK_RESULT
TEST_NN_Regr(_spoil_scenario,_TestResult,_TotalResult); //128
CHECK_RESULT
TEST_NN_Regr_N(_spoil_scenario,_TestResult,_TotalResult); //129
CHECK_RESULT
TEST_NN_Cls2(_spoil_scenario,_TestResult,_TotalResult); //130
CHECK_RESULT
TEST_NN_Cls3(_spoil_scenario,_TestResult,_TotalResult); //131
CHECK_RESULT
TEST_NN_TrainerObject(_spoil_scenario,_TestResult,_TotalResult); //132
CHECK_RESULT
TEST_NN_Ensembles_ES(_spoil_scenario,_TestResult,_TotalResult); //133
CHECK_RESULT
TEST_MinNLC_D_Equality(_spoil_scenario,_TestResult,_TotalResult); //134
CHECK_RESULT
TEST_MinNLC_D_Mixed(_spoil_scenario,_TestResult,_TotalResult); //135
CHECK_RESULT
TEST_MinNS_D_Unconstrained(_spoil_scenario,_TestResult,_TotalResult); //136
CHECK_RESULT
TEST_MinNS_D_Diff(_spoil_scenario,_TestResult,_TotalResult); //137
CHECK_RESULT
TEST_MinNS_D_BC(_spoil_scenario,_TestResult,_TotalResult); //138
CHECK_RESULT
TEST_MinNS_D_NLC(_spoil_scenario,_TestResult,_TotalResult); //139
CHECK_RESULT
TEST_Spline2D_Fit_Blocklls(_spoil_scenario,_TestResult,_TotalResult); //140
CHECK_RESULT
TEST_Spline2d_Vector(_spoil_scenario,_TestResult,_TotalResult); //141
CHECK_RESULT
TEST_RBF_D_HRBF(_spoil_scenario,_TestResult,_TotalResult); //142
CHECK_RESULT
TEST_RBF_D_Vector(_spoil_scenario,_TestResult,_TotalResult); //143
CHECK_RESULT
TEST_RBF_D_PolTerm(_spoil_scenario,_TestResult,_TotalResult); //144
CHECK_RESULT
TEST_RBF_D_Serialize(_spoil_scenario,_TestResult,_TotalResult); //145
CHECK_RESULT
TEST_Clst_KMeans(_spoil_scenario,_TestResult,_TotalResult); //146
CHECK_RESULT
TEST_LinReg_D_Basic(_spoil_scenario,_TestResult,_TotalResult); //147
CHECK_RESULT
TEST_SSA_D_Realtime(_spoil_scenario,_TestResult,_TotalResult); //148
CHECK_RESULT
TEST_KNN_Cls(_spoil_scenario,_TestResult,_TotalResult); //149
CHECK_RESULT
TEST_Spline1D_D_Monotone(_spoil_scenario,_TestResult,_TotalResult); //150
CHECK_RESULT
TEST_LSFit_T_4pl(_spoil_scenario,_TestResult,_TotalResult); //151
CHECK_RESULT
TEST_LSFit_T_5pl(_spoil_scenario,_TestResult,_TotalResult); //152
CHECK_RESULT
//--- all blocks were successful
Print("152/152");
//--- print total result
Print("Result = ",_TotalResult);
}
//+------------------------------------------------------------------+
File diff suppressed because it is too large Load Diff