1 #ifndef TestDDaceLHSampler_h 2 #define TestDDaceLHSampler_h 3 4 #include <cstdio> 5 #include <cstdlib> 6 #include <iostream> 7 #include <string> 8 #include "Distribution.h" 9 #include "UniformDistribution.h" 10 #include "DDaceLHSampler.h" 11 #include "suite.h" 12 13 class TestDDaceLHSampler : public Test 14 { 15 public: 16 TestDDaceLHSampler(); 17 ~TestDDaceLHSampler(); 18 19 void run(); 20 void testDDaceLHSamplerWithDist(); 21 void testDDaceLHSamplerWithoutDist(); 22 void testGetSamplesWithoutNoise(); 23 void testGetSamplesWithNoise(); 24 void testClone(); 25 void testPrint(); 26 void testTypeName(); 27 void testGetParameter(); 28 29 private: 30 std::vector<Distribution> dists; 31 std::vector< std::vector<double> > test_data; 32 std::vector< std::vector<double> > test_data_wn; 33 std::vector<double> lb; 34 std::vector<double> ub; 35 int seed; 36 }; 37 38 #endif 39