Orthogonal Array Library
1.0.0
Libray for generating orthogonal arrays based on Art Owen's oa library
|
Go to the documentation of this file.
26 #include "TestClass.h"
27 #include "simpleAssert.h"
31 #define NUM_THREADS_USED 3
32 #define PARALLEL_CHUNK_SIZE 1
35 #define NUM_THREADS_USED 1
37 #define PARALLEL_CHUNK_SIZE 1
44 #define CREATE_TEST_OA(x) \
45 tests.push_back(std::unique_ptr<oaTest::OATestClass>(dynamic_cast<oaTest::OATestClass*>(new x())));
78 void standardChecks(bclib::matrix<int> A,
int expectedq,
int expectedCols);
100 return static_cast<int>(std::pow<int>(2,a));
Orthogonal Array Test.
Definition: COrthogonalArrayTest.cpp:23
virtual ~OATestClass()
Destructor.
Definition: OATestClass.h:65
int multiplyByTwo(int a)
a function to multiply by two for use in a standard template as a function
Definition: OATestClass.h:87
virtual void Run()
Run a test suite for a test class derived from this class.
Definition: OATestClass.h:61
bool isDotProductConstant(bclib::matrix< int > A)
Is the dot product of the columns of an orthogonal array a constant value?
Definition: OATestClass.cpp:24
void standardChecks(bclib::matrix< int > A, int expectedq, int expectedCols)
A set of standard tests to apply to an orthogonal array.
Definition: OATestClass.cpp:54
An abstract test class.
Definition: OATestClass.h:56
int powerOfTwo(int a)
A function to take 2 to the power of a number.
Definition: OATestClass.h:98