Sfoglia il codice sorgente

test: add TestLAFE

TestLoudAudioFeatureExtractor -- init only
main
Rob Hallam 3 mesi fa
parent
commit
9bdd90c4c0
1 ha cambiato i file con 7 aggiunte e 0 eliminazioni
  1. +7
    -0
      test/test_feature_extractors.py

+ 7
- 0
test/test_feature_extractors.py Vedi File

@@ -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)


Caricamento…
Annulla
Salva