Skip to content

Commit

Permalink
Make tests namespace consistent (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
marmichalski authored and akondas committed Sep 2, 2017
1 parent 03751f5 commit 8c06a55
Show file tree
Hide file tree
Showing 28 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion tests/Phpml/Association/AprioriTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace tests\Classification;
namespace tests\Phpml\Classification;

use Phpml\Association\Apriori;
use Phpml\ModelManager;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace tests\Classification\DecisionTree;
namespace tests\Phpml\Classification\DecisionTree;

use Phpml\Classification\DecisionTree\DecisionTreeLeaf;
use PHPUnit\Framework\TestCase;
Expand Down
2 changes: 1 addition & 1 deletion tests/Phpml/Classification/DecisionTreeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace tests\Classification;
namespace tests\Phpml\Classification;

use Phpml\Classification\DecisionTree;
use Phpml\ModelManager;
Expand Down
2 changes: 1 addition & 1 deletion tests/Phpml/Classification/Ensemble/AdaBoostTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace tests\Classification\Ensemble;
namespace tests\Phpml\Classification\Ensemble;

use Phpml\Classification\Ensemble\AdaBoost;
use Phpml\ModelManager;
Expand Down
2 changes: 1 addition & 1 deletion tests/Phpml/Classification/Ensemble/BaggingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace tests\Classification\Ensemble;
namespace tests\Phpml\Classification\Ensemble;

use Phpml\Classification\Ensemble\Bagging;
use Phpml\Classification\DecisionTree;
Expand Down
2 changes: 1 addition & 1 deletion tests/Phpml/Classification/Ensemble/RandomForestTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace tests\Classification\Ensemble;
namespace tests\Phpml\Classification\Ensemble;

use Phpml\Classification\Ensemble\RandomForest;
use Phpml\Classification\DecisionTree;
Expand Down
2 changes: 1 addition & 1 deletion tests/Phpml/Classification/KNearestNeighborsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace tests\Classification;
namespace tests\Phpml\Classification;

use Phpml\Classification\KNearestNeighbors;
use Phpml\Math\Distance\Chebyshev;
Expand Down
2 changes: 1 addition & 1 deletion tests/Phpml/Classification/Linear/AdalineTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace tests\Classification\Linear;
namespace tests\Phpml\Classification\Linear;

use Phpml\Classification\Linear\Adaline;
use Phpml\ModelManager;
Expand Down
2 changes: 1 addition & 1 deletion tests/Phpml/Classification/Linear/DecisionStumpTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace tests\Classification\Linear;
namespace tests\Phpml\Classification\Linear;

use Phpml\Classification\Linear\DecisionStump;
use Phpml\ModelManager;
Expand Down
2 changes: 1 addition & 1 deletion tests/Phpml/Classification/Linear/PerceptronTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace tests\Classification\Linear;
namespace tests\Phpml\Classification\Linear;

use Phpml\Classification\Linear\Perceptron;
use Phpml\ModelManager;
Expand Down
2 changes: 1 addition & 1 deletion tests/Phpml/Classification/NaiveBayesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace tests\Classification;
namespace tests\Phpml\Classification;

use Phpml\Classification\NaiveBayes;
use Phpml\ModelManager;
Expand Down
2 changes: 1 addition & 1 deletion tests/Phpml/Classification/SVCTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace tests\Classification;
namespace tests\Phpml\Classification;

use Phpml\Classification\SVC;
use Phpml\SupportVectorMachine\Kernel;
Expand Down
2 changes: 1 addition & 1 deletion tests/Phpml/Clustering/DBSCANTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace tests\Clustering;
namespace tests\Phpml\Clustering;

use Phpml\Clustering\DBSCAN;
use PHPUnit\Framework\TestCase;
Expand Down
2 changes: 1 addition & 1 deletion tests/Phpml/Clustering/FuzzyCMeansTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace tests\Clustering;
namespace tests\Phpml\Clustering;

use Phpml\Clustering\FuzzyCMeans;
use PHPUnit\Framework\TestCase;
Expand Down
2 changes: 1 addition & 1 deletion tests/Phpml/Clustering/KMeansTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace tests\Clustering;
namespace tests\Phpml\Clustering;

use Phpml\Clustering\KMeans;
use PHPUnit\Framework\TestCase;
Expand Down
2 changes: 1 addition & 1 deletion tests/Phpml/DimensionReduction/KernelPCATest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace tests\DimensionReduction;
namespace tests\Phpml\DimensionReduction;

use Phpml\DimensionReduction\KernelPCA;
use PHPUnit\Framework\TestCase;
Expand Down
2 changes: 1 addition & 1 deletion tests/Phpml/DimensionReduction/LDATest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace tests\DimensionReduction;
namespace tests\Phpml\DimensionReduction;

use Phpml\DimensionReduction\LDA;
use Phpml\Dataset\Demo\IrisDataset;
Expand Down
2 changes: 1 addition & 1 deletion tests/Phpml/DimensionReduction/PCATest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace tests\DimensionReduction;
namespace tests\Phpml\DimensionReduction;

use Phpml\DimensionReduction\PCA;
use PHPUnit\Framework\TestCase;
Expand Down
2 changes: 1 addition & 1 deletion tests/Phpml/Math/LinearAlgebra/EigenDecompositionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace tests\Math\LinearAlgebra;
namespace tests\Phpml\Math\LinearAlgebra;

use Phpml\Math\LinearAlgebra\EigenvalueDecomposition;
use Phpml\Math\Matrix;
Expand Down
2 changes: 1 addition & 1 deletion tests/Phpml/Math/Statistic/CovarianceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace tests\Math\Statistic;
namespace tests\Phpml\Math\Statistic;

use Phpml\Math\Statistic\Covariance;
use Phpml\Math\Statistic\Mean;
Expand Down
2 changes: 1 addition & 1 deletion tests/Phpml/Preprocessing/ImputerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace tests\Preprocessing;
namespace tests\Phpml\Preprocessing;

use Phpml\Preprocessing\Imputer;
use Phpml\Preprocessing\Imputer\Strategy\MeanStrategy;
Expand Down
2 changes: 1 addition & 1 deletion tests/Phpml/Preprocessing/NormalizerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace tests\Preprocessing;
namespace tests\Phpml\Preprocessing;

use Phpml\Preprocessing\Normalizer;
use PHPUnit\Framework\TestCase;
Expand Down
2 changes: 1 addition & 1 deletion tests/Phpml/Regression/LeastSquaresTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace tests\Regression;
namespace tests\Phpml\Regression;

use Phpml\Regression\LeastSquares;
use Phpml\ModelManager;
Expand Down
2 changes: 1 addition & 1 deletion tests/Phpml/Regression/SVRTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace tests\Regression;
namespace tests\Phpml\Regression;

use Phpml\Regression\SVR;
use Phpml\SupportVectorMachine\Kernel;
Expand Down
2 changes: 1 addition & 1 deletion tests/Phpml/SupportVectorMachine/DataTransformerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace tests\SupportVectorMachine;
namespace tests\Phpml\SupportVectorMachine;

use Phpml\SupportVectorMachine\DataTransformer;
use PHPUnit\Framework\TestCase;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace tests\SupportVectorMachine;
namespace tests\Phpml\SupportVectorMachine;

use Phpml\SupportVectorMachine\Kernel;
use Phpml\SupportVectorMachine\SupportVectorMachine;
Expand Down
2 changes: 1 addition & 1 deletion tests/Phpml/Tokenization/WhitespaceTokenizerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace tests\Tokenization;
namespace tests\Phpml\Tokenization;

use Phpml\Tokenization\WhitespaceTokenizer;
use PHPUnit\Framework\TestCase;
Expand Down
2 changes: 1 addition & 1 deletion tests/Phpml/Tokenization/WordTokenizerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace tests\Tokenization;
namespace tests\Phpml\Tokenization;

use Phpml\Tokenization\WordTokenizer;
use PHPUnit\Framework\TestCase;
Expand Down

0 comments on commit 8c06a55

Please sign in to comment.