@@ -25,6 +25,7 @@ def html_profile() -> str:
25
25
"constant" : np .ones (size ),
26
26
"sin" : [round (np .sin (x * np .pi / 180 ), 2 ) for x in time_steps ],
27
27
"cos" : [round (np .cos (x * np .pi / 180 ), 2 ) for x in time_steps ],
28
+ "uniform" : [round (x , 2 ) for x in np .random .uniform (0 , 10 , size )],
28
29
"gaussian" : [round (x , 2 ) for x in np .random .normal (0 , 1 , size )],
29
30
}
30
31
)
@@ -36,7 +37,7 @@ def html_profile() -> str:
36
37
def test_timeseries_identification (html_profile : str ):
37
38
assert "<th>TimeSeries</th>" in html_profile , "TimeSeries not detected"
38
39
assert (
39
- "<tr><th>TimeSeries</th><td>9 </td></tr>" in html_profile
40
+ "<tr><th>TimeSeries</th><td>8 </td></tr>" in html_profile
40
41
), "TimeSeries incorrectly identified"
41
42
42
43
@@ -45,7 +46,7 @@ def test_timeseries_autocorrelation_tab(html_profile: str):
45
46
"role=tab data-toggle=tab>Autocorrelation<" in html_profile
46
47
), "TimeSeries not detected"
47
48
assert (
48
- html_profile .count ("role=tab data-toggle=tab>Autocorrelation<" ) == 9
49
+ html_profile .count ("role=tab data-toggle=tab>Autocorrelation<" ) == 8
49
50
), "TimeSeries autocorrelation tabs incorrectly generated"
50
51
51
52
0 commit comments