コード例 #1
0
def test_check_window_size():
    for m in range(-1, 3):
        with pytest.raises(ValueError):
            core.check_window_size(m)
コード例 #2
0
ファイル: test_core.py プロジェクト: sramboer/stumpy
def test_check_max_window_size():
    for m in range(4, 7):
        with pytest.raises(ValueError):
            core.check_window_size(m, max_size=3)