コード例 #1
0
ファイル: test_filter_objects.py プロジェクト: NGTS/zlp-qa
def test_low_shift_index_change_shift_pofnt(shift):
    from qa_common.filter_objects import low_shift_index
    assert (low_shift_index(shift, initial_bad_shift_point=10) ==
            np.array([True, True, True])).all()
コード例 #2
0
ファイル: test_filter_objects.py プロジェクト: NGTS/zlp-qa
def test_low_shift_index(shift):
    from qa_common.filter_objects import low_shift_index
    assert (low_shift_index(shift) == np.array([True, False, False])).all()