diff --git a/tests/test_ExpDesign.py b/tests/test_ExpDesign.py index 0a1191799ca880dbdf28eb598a68120507bff1b2..451e3fc30ca9b4aa510e1476989099b84d462a1c 100644 --- a/tests/test_ExpDesign.py +++ b/tests/test_ExpDesign.py @@ -135,19 +135,6 @@ def test_random_sampler() -> None: exp = ExpDesigns(inp) exp.random_sampler(4) -def test_random_sampler_largedatanoJDist() -> None: - """ - Sample randomly, init_param_space implicitly, more samples wanted than given, no JDist available - """ - x = np.random.uniform(0,1,1000) - inp = Input() - inp.add_marginals() - inp.Marginals[0].input_data = x - exp = ExpDesigns(inp) - with pytest.raises(AttributeError) as excinfo: - exp.random_sampler(100000) - assert str(excinfo.value) == 'Sampling cannot proceed, build ExpDesign with max_deg != 0 to create JDist!' - def test_random_sampler_largedataJDist0() -> None: """ Sample randomly, init_param_space implicitly, more samples wanted than given, @@ -350,19 +337,6 @@ def test_generate_ED_randomtrafo() -> None: exp = ExpDesigns(inp, sampling_method = 'random') exp.generate_ED(4) -def test_generate_ED_latin_nomaxdeg() -> None: - """ - latin-hypercube-defined ED without max_pce_deg - """ - x = np.random.uniform(0,1,1000) - inp = Input() - inp.add_marginals() - inp.Marginals[0].input_data = x - exp = ExpDesigns(inp, sampling_method = 'latin-hypercube') - with pytest.raises(AttributeError) as excinfo: - exp.generate_ED(4) - assert str(excinfo.value) == 'Please set `max_pce_deg` for the experimental design!' - def test_generate_ED_latin() -> None: """ latin-hypercube-defined ED