1 #ifndef TestDDaceOALHSampler_h 2 #define TestDDaceOALHSampler_h 3 4 #include "Distribution.h" 5 #include "UniformDistribution.h" 6 #include "DDaceOALHSampler.h" 7 #include "suite.h" 8 9 #include <cstdio> 10 #include <cstdlib> 11 #include <iostream> 12 #include <string> 13 14 /////////////////////////// 15 // Written By: J Cramp 16 // Date: July 2004 17 /////////////////////////// 18 19 class TestDDaceOALHSampler : public Test 20 { 21 public: 22 TestDDaceOALHSampler(); 23 ~TestDDaceOALHSampler(); 24 25 void run(); 26 void testDDaceOALHSampler(); 27 void testGetSamples(); 28 void testClone(); 29 void testPrint(); 30 void testTypeName(); 31 void testGetParameter(); 32 void testGetDesign(); 33 void testGetOA(); 34 35 private: 36 std::vector< std::vector<int> > test_oa; 37 std::vector< std::vector<int> > test_design; 38 std::vector< std::vector<double> > test_data; 39 double lb; 40 double ub; 41 int seed; 42 }; 43 44 #endif 45