Beispiel #1
0
 def test_parse_yaafe_header_stats_derivate(self):
     header = Util.parse_yaafe_header(self.stats_derivate)
     self.assertEqual(22050, header['samplerate'])
     self.assertEqual(15360, header['effective_step_size'])
Beispiel #2
0
 def test_parse_yaafe_header_double_stats(self):
     header = Util.parse_yaafe_header(self.double_stats_csv)
     self.assertEqual(22050, header['samplerate'])
     self.assertEqual(460800, header['effective_step_size'])