Beispiel #1
0
 def test_load_bach10(self):
     mtracks = utils.load_all_multitracks(dataset_version=['BACH10'])
     first_track = next(mtracks)
     self.assertEqual(first_track.track_id, 'Bach10_01AchGottundHerr')
Beispiel #2
0
 def test_load_version2(self):
     mtracks = utils.load_all_multitracks(dataset_version=['V2'])
     first_track = next(mtracks)
     self.assertEqual(first_track.track_id, 'Allegria_MendelssohnMovement1')
Beispiel #3
0
 def test_load_version_extra(self):
     mtracks = utils.load_all_multitracks(dataset_version=['EXTRA'])
     first_track = next(mtracks)
     self.assertEqual(first_track.track_id, 'AHa_TakeOnMe')
Beispiel #4
0
 def test_object_type(self):
     mtracks = utils.load_all_multitracks()
     first_track = next(mtracks)
     self.assertTrue(isinstance(first_track, multitrack.MultiTrack))
Beispiel #5
0
 def test_id(self):
     mtracks = utils.load_all_multitracks()
     first_track = next(mtracks)
     self.assertEqual(first_track.track_id, 'AClassicEducation_NightOwl')
Beispiel #6
0
 def setUp(self):
     self.mtracks = utils.load_all_multitracks()
     self.first_track = next(self.mtracks)
Beispiel #7
0
 def setUp(self):
     self.mtracks = utils.load_all_multitracks()
     self.first_track = next(self.mtracks)
Beispiel #8
0
 def test_load_bach10(self):
     mtracks = utils.load_all_multitracks(dataset_version=['BACH10'])
     first_track = next(mtracks)
     self.assertEqual(
         first_track.track_id, 'Bach10_01AchGottundHerr'
     )
Beispiel #9
0
 def test_load_version_extra(self):
     mtracks = utils.load_all_multitracks(dataset_version=['EXTRA'])
     first_track = next(mtracks)
     self.assertEqual(
         first_track.track_id, 'AHa_TakeOnMe'
     )
Beispiel #10
0
 def test_load_version2(self):
     mtracks = utils.load_all_multitracks(dataset_version=['V2'])
     first_track = next(mtracks)
     self.assertEqual(
         first_track.track_id, 'Allegria_MendelssohnMovement1'
     )
Beispiel #11
0
 def test_id(self):
     mtracks = utils.load_all_multitracks()
     first_track = next(mtracks)
     self.assertEqual(
         first_track.track_id, 'AClassicEducation_NightOwl'
     )
Beispiel #12
0
 def test_object_type(self):
     mtracks = utils.load_all_multitracks()
     first_track = next(mtracks)
     self.assertTrue(isinstance(first_track, multitrack.MultiTrack))