From 0d319a1d95421d4013f99b096cd174670e1ca8fe Mon Sep 17 00:00:00 2001
From: kohlhaasrebecca <rebecca.kohlhaas@outlook.com>
Date: Fri, 28 Jun 2024 21:24:53 +0200
Subject: [PATCH] Removed unneeded tests

Two tests for the ExpDesign became unneded due to change in the input parameters of ExpDesigns.generate_ED()
---
 .coverage                                | Bin 53248 -> 53248 bytes
 .coverage.DESKTOP-ATMEKSV.22308.XGdCCwAx | Bin 0 -> 53248 bytes
 tests/test_ExpDesign.py                  |  28 +----------------------
 3 files changed, 1 insertion(+), 27 deletions(-)
 create mode 100644 .coverage.DESKTOP-ATMEKSV.22308.XGdCCwAx

diff --git a/.coverage b/.coverage
index 7bd62455cae2ec79af9cbc60f552afe43fca17d4..d41967f8db2681943faa50556a069d154d6d34ed 100644
GIT binary patch
delta 3237
zcmY*b3se(V8oo1`nat!J0`e3BiN>B<MA>6?s}Om~qYznzN=1S^8mS0WtoT4Cpr<6O
zZk5|sJbl3KaogQ)x3$`C*$Rf!#$9`kkJjxjo>~E8TiZihK(|d?;>`Y&DC^#wbMJru
z|G)p^`|eD}*)MbU%T7?%LKFD~(!QmALNlZJt>!WHh<clvQT<-EQu(>EPBEkCQJA?8
zIUD;e+sxAPqw;j-B2z<8(l63ERDk*;RYhrJUfHv<`Q#Vx9yv&og(j@eE+SI!k(^cd
zwQLnxoGghE#r4}a6*t$_H>S4i$~RJ|GYW6YUWtFmo+b+u;K(XvZj+;-sUFO>cs!o7
zhKR$9b1UdraCP8k^4H-Txp71c7IL@H(V#2Bt4eb5>O8I5Zf|I6*lxGO$(lL%QeF+y
z7zGX+@%6$o{7z9M9SOU#dpnNZw5<+2+YI<xVH;B)0XCat(>NOIcQ!QD)$asrgC3_o
z-oR|u&7M48sAU?pvtd6fHjoZYPjLl4xLQl7dx{-QlM1YxLTM@sqezERvi`JMODjNM
z8tPzUzLwzd*8FOM#TWCp&~mU8NtXZXfx&$RHB221#^O-8v=S9T0T@ehf1Ux4moWHX
ziGr4aeK~+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tiA*KMPeYpS9o`L*QvV`dcWJtu!SlnyH^-BPvXQtOqWW^y(;
z5u~hkvmbVNQ4kPIV}%vhF&cOZnu{KhC4v8dKmuE<Y_ew;3_1s+LyyM<xp&kbhVR+M
z;gF*!vacl^`aEm=>YVYb>m&OX4nDdY>bSHonmsV|cwhLHv-cFIRR}$~*6JUO4*Vlz
zRa*mh1t#2^9~%2EB!{Ed&dTG~@X*h~Ls20#(9sfd3|uvb25joc(gfx>;T)m<YvB_m
ern4A+K>lL9kk~V9)7beci3uu*mY1q-z4KpZEFGr+

diff --git a/.coverage.DESKTOP-ATMEKSV.22308.XGdCCwAx b/.coverage.DESKTOP-ATMEKSV.22308.XGdCCwAx
new file mode 100644
index 0000000000000000000000000000000000000000..e1f7e6f75f5aa9a7a33884193b67b7cc22082200
GIT binary patch
literal 53248
zcmeI)O>f&a7zc34ZmrmHpcX+O1VIsAHpi&r&d8zIcG$8lhhhb~Zow`C=F&2qXtg9q
zlJjyH2DbwO4A?gq_MP?-b}M$-X{TNGJd$YHNnG?+)cXsuElVUt{`iozqqN^Vee5Ml
z48q8liP$sl7^Z1_DuiJeReG$^LvI%C+|qC8)tuR1v|BaWgTL17Z;g88SHu2(?TNix
z|84F4)j#Tf^_SJ(Em?Kx1U3jj00I#Be+x{W)-7jq(|qw`B6~xXMAB7J_PqA_*9ZHD
z2jX!5v&RP_J0^B&g0|gVu`i<VOpH_{2HsE!FX(%&OuXPoB*#jp9>=QB3mqM!rH&J}
z)BL>G_4<@6QAbq7DDr$6U5MxEqLn7dua>CuBs)NbDDNoX6k;dO-V~7<s7M8_inChm
zc>QLr`SPcl<*cupmnv<Oj9mIzoofvpD4OzUKn1yB)aTmwA{n^HDsBlmZJ`@dJ<pS@
zwNdClNJ266g0z`I>?K|p2z9R9aiaP+Hn7ELdLz8q)=*i`xIxddocXn8bc)P3<jj-j
znFmz4Ak?fyM!qy<PU{?u{T`A3F!o2>Ig}&2a1t)cxhQWE=8b*hzPX_<i}ucSrzYnf
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m~-{y#zi0uX=z1Rwwb2tWV=5P$##Ah7%b
zxc|TWeT)`D00Izz00bZa0SG_<0uX=z1aSW!F#rJwKmY;|fB*y_009U<00IzLegWM7
zU;aKu3n2gj2tWV=5P$##AOHafKmY=`|Bo1e00bZa0SG_<0uX=z1Rwwb2rRz<?*A`;
aAESj3fB*y_009U<00Izz00bZaf&Ty)+a0$6

literal 0
HcmV?d00001

diff --git a/tests/test_ExpDesign.py b/tests/test_ExpDesign.py
index 0a1191799..3cda5da6d 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 
@@ -372,7 +346,7 @@ def test_generate_ED_latin() -> None:
     inp.add_marginals()
     inp.Marginals[0].input_data = x
     exp = ExpDesigns(inp, sampling_method = 'latin-hypercube')
-    exp.generate_ED(4,1)
+    exp.generate_ED(4)
     
     
 #%% Test ExpDesign.read_from_file
-- 
GitLab