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