Exemple #1
0
 def test_music_bracket_add_wildcard_to_songs_double_wildcard(self):
     test = MusicBracket(2)
     test.add_wildcard(self.first_song)
     test.add_wildcard(self.second_song)
     test.move_wildcard_to_songs()
     self.assertEqual(len(test.wildcard_songs), 1)
     self.assertEqual(len(test.wildcard_songs), 1)
Exemple #2
0
 def test_music_bracket_add_wildcard_to_songs(self):
     test = MusicBracket(2)
     test.add_wildcard(self.first_song)
     test.move_wildcard_to_songs()
     self.assertEqual(test.wildcard_songs, [])
     self.assertEqual(test.songs, [self.first_song])