瀏覽代碼

test: add TestLAFE

TestLoudAudioFeatureExtractor -- init only
main
Rob Hallam 3 月之前
父節點
當前提交
9bdd90c4c0
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. +7
    -0
      test/test_feature_extractors.py

+ 7
- 0
test/test_feature_extractors.py 查看文件

@@ -60,3 +60,10 @@ class TestRandomFeatureExtractor(unittest.TestCase):
test_extractor.teardown()
self.assertTrue(test_extractor.features)

class TestLoudAudioFeatureExtractor(unittest.TestCase):
"""Test LoudAudioFeatureExtractor"""
def test_init(self):
video_source = TestSourceMedia().one_colour_silent_audio()
test_extractor = extractors.LoudAudioFeatureExtractor(input_files=video_source)
self.assertTrue(test_extractor)


Loading…
取消
儲存