def test_find_ts_raises_when_scalar():
    with pytest.raises(TypeError):
        find_ts(4)
Exemple #2
0
def test_find_ts_raises_when_scalar():
    with pytest.raises(TypeError):
        find_ts(4)
def test_find_ts():
    assert find_ts(np.array([0, 86400, 172800])) == 86400
Exemple #4
0
def test_find_ts():
    assert find_ts(np.array([0, 86400, 172800])) == 86400