def test_check_time_series_values_between_0_and_1_False_smaller_0(): time_series = pd.Series([0, 0.22, 0.5, 0.99, 1, -0.01]) result = C1.check_time_series_values_between_0_and_1( time_series=time_series) assert result is False
def test_check_time_series_values_between_0_and_1_True(): time_series = pd.Series([0, 0.22, 0.5, 0.99, 1]) result = C1.check_time_series_values_between_0_and_1( time_series=time_series) assert result is True