@@ -25,6 +25,7 @@ def html_profile() -> str:
2525 "constant" : np .ones (size ),
2626 "sin" : [round (np .sin (x * np .pi / 180 ), 2 ) for x in time_steps ],
2727 "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 )],
2829 "gaussian" : [round (x , 2 ) for x in np .random .normal (0 , 1 , size )],
2930 }
3031 )
@@ -36,7 +37,7 @@ def html_profile() -> str:
3637def test_timeseries_identification (html_profile : str ):
3738 assert "<th>TimeSeries</th>" in html_profile , "TimeSeries not detected"
3839 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
4041 ), "TimeSeries incorrectly identified"
4142
4243
@@ -45,7 +46,7 @@ def test_timeseries_autocorrelation_tab(html_profile: str):
4546 "role=tab data-toggle=tab>Autocorrelation<" in html_profile
4647 ), "TimeSeries not detected"
4748 assert (
48- html_profile .count ("role=tab data-toggle=tab>Autocorrelation<" ) == 9
49+ html_profile .count ("role=tab data-toggle=tab>Autocorrelation<" ) == 8
4950 ), "TimeSeries autocorrelation tabs incorrectly generated"
5051
5152
0 commit comments