MCPcopy Create free account
hub / github.com/Breakthrough/PySceneDetect / test_detect_fast_cuts

Function test_detect_fast_cuts

tests/test_detectors.py:188–194  ·  view source on GitHub ↗
(test_case: TestCase)

Source from the content-addressed store, hash-verified

186
187@pytest.mark.parametrize("test_case", get_fast_cut_test_cases())
188def test_detect_fast_cuts(test_case: TestCase):
189 scene_list = test_case.detect()
190 start_frames = [timecode.frame_num for timecode, _ in scene_list]
191
192 assert start_frames == test_case.scene_boundaries
193 assert scene_list[0][0] == test_case.start_time
194 assert scene_list[-1][1] == test_case.end_time
195
196
197@pytest.mark.parametrize("test_case", get_fade_in_out_test_cases())

Callers

nothing calls this directly

Calls 1

detectMethod · 0.80

Tested by

no test coverage detected