Explorar el Código

test: add TestLAFE

TestLoudAudioFeatureExtractor -- init only
main
Rob Hallam hace 3 meses
padre
commit
9bdd90c4c0
Se han modificado 1 ficheros con 7 adiciones y 0 borrados
  1. +7
    -0
      test/test_feature_extractors.py

+ 7
- 0
test/test_feature_extractors.py Ver fichero

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


Cargando…
Cancelar
Guardar