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')
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')
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')
def test_object_type(self): mtracks = utils.load_all_multitracks() first_track = next(mtracks) self.assertTrue(isinstance(first_track, multitrack.MultiTrack))
def test_id(self): mtracks = utils.load_all_multitracks() first_track = next(mtracks) self.assertEqual(first_track.track_id, 'AClassicEducation_NightOwl')
def setUp(self): self.mtracks = utils.load_all_multitracks() self.first_track = next(self.mtracks)
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' )
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' )
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' )
def test_id(self): mtracks = utils.load_all_multitracks() first_track = next(mtracks) self.assertEqual( first_track.track_id, 'AClassicEducation_NightOwl' )