big int
This commit is contained in:
@@ -6,9 +6,9 @@
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
|
||||
static constexpr int EXECUTION_COUNT = 100;
|
||||
static constexpr int EXECUTION_COUNT = 10;
|
||||
static constexpr int KERNEL_CHECKS = 100;
|
||||
static constexpr int MATRIX_MAX_SIZE = 100;
|
||||
static constexpr int MATRIX_MAX_SIZE = 10;
|
||||
|
||||
static const Solver solver;
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ void TestRectangular() {
|
||||
1, -1, -1, 2
|
||||
}};
|
||||
|
||||
VectAffine aff {Matrix::ColumnVector({0, -1, 1}), Matrix::ColumnVector({3.0 / 2.0, 0, -1.0 / 2.0})};
|
||||
VectAffine aff {Matrix::ColumnVector({0, -1, 1}), Matrix::ColumnVector({3, 0, -1})};
|
||||
|
||||
Solver solver;
|
||||
|
||||
@@ -41,8 +41,11 @@ void TestKernelImage() {
|
||||
|
||||
Matrix copy = mat;
|
||||
|
||||
test_assert(solver.Image(std::move(copy)) == image);
|
||||
test_assert(solver.Kernel(std::move(mat)) == noyau);
|
||||
Vect imageCalc = solver.Image(std::move(copy));
|
||||
Vect kernelCalc = solver.Kernel(std::move(mat));
|
||||
|
||||
test_assert(imageCalc == image);
|
||||
test_assert(kernelCalc == noyau);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user