def test_find_ts_raises_when_scalar():
    with pytest.raises(TypeError):
        find_ts(4)
Beispiel #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
Beispiel #4
0
def test_find_ts():
    assert find_ts(np.array([0, 86400, 172800])) == 86400