def test_clear(self):
     mobber_manager = MobberManager()
     mobber_manager.add_mobber("Joe")
     mobber_manager.add_mobber("Chris")
     mobber_manager.add_mobber("Sam")
     mobber_manager.clear()
     result = []
     self.assertEqual(mobber_manager.get_mobbers(), result)
 def test_add_mobber_joe_chris_joe__remove_joe_has_joe_chris(self):
     mobber_manager = MobberManager()
     mobber_manager.add_mobber("Joe")
     mobber_manager.add_mobber("Chris")
     mobber_manager.add_mobber("John")
     mobber_manager.remove_mobber(2)
     result = ["Joe", "Chris"]
     self.assertEqual(mobber_manager.get_mobbers(), result)
 def test_clear(self):
     mobber_manager = MobberManager()
     mobber_manager.add_mobber("Joe")
     mobber_manager.add_mobber("Chris")
     mobber_manager.add_mobber("Sam")
     mobber_manager.clear()
     result = []
     self.assertEqual(mobber_manager.get_mobbers(), result)
 def test_add_mobber_joe_chris_joe__remove_joe_has_joe_chris(self):
     mobber_manager = MobberManager()
     mobber_manager.add_mobber("Joe")
     mobber_manager.add_mobber("Chris")
     mobber_manager.add_mobber("Joe")
     mobber_manager.remove_mobber(2)
     result = ["Joe", "Chris"]
     self.assertEqual(mobber_manager.get_mobbers(), result)
 def test_add_4_mobbers_move_down_bottom(self):
     mobber_manager = MobberManager()
     mobber_manager.add_mobber("Joe")
     mobber_manager.add_mobber("Chris")
     mobber_manager.add_mobber("Will")
     mobber_manager.add_mobber("Eric")
     mobber_manager.move_mobber_down(3)
     result = ["Eric", "Chris", "Will", "Joe"]
     self.assertEqual(mobber_manager.get_mobbers(), result)
 def test_add_4_mobbers_move_up_middle(self):
     mobber_manager = MobberManager()
     mobber_manager.add_mobber("Joe")
     mobber_manager.add_mobber("Chris")
     mobber_manager.add_mobber("Will")
     mobber_manager.add_mobber("Eric")
     mobber_manager.move_mobber_up(2)
     result = ["Joe", "Will", "Chris", "Eric"]
     self.assertEqual(mobber_manager.get_mobbers(), result)
 def test_add_4_mobbers_move_down_bottom(self):
     mobber_manager = MobberManager()
     mobber_manager.add_mobber("Joe")
     mobber_manager.add_mobber("Chris")
     mobber_manager.add_mobber("Will")
     mobber_manager.add_mobber("Eric")
     mobber_manager.move_mobber_down(3)
     result = ["Eric", "Chris", "Will", "Joe"]
     self.assertEqual(mobber_manager.get_mobbers(), result)
 def test_add_4_mobbers_move_up_middle(self):
     mobber_manager = MobberManager()
     mobber_manager.add_mobber("Joe")
     mobber_manager.add_mobber("Chris")
     mobber_manager.add_mobber("Will")
     mobber_manager.add_mobber("Eric")
     mobber_manager.move_mobber_up(2)
     result = ["Joe", "Will", "Chris", "Eric"]
     self.assertEqual(mobber_manager.get_mobbers(), result)
 def test_remove_empty(self):
     mobber_manager = MobberManager()
     mobber_manager.remove_mobber(0)
     result = []
     self.assertEqual(mobber_manager.get_mobbers(), result)
 def test_add_mobber_chris_has_chris(self):
     mobber_manager = MobberManager()
     mobber_manager.add_mobber("Chris")
     result = ["Chris"]
     self.assertEqual(mobber_manager.get_mobbers(), result)
 def test_remove_empty(self):
     mobber_manager = MobberManager()
     mobber_manager.remove_mobber(0)
     result = []
     self.assertEqual(mobber_manager.get_mobbers(), result)
 def test_add_mobber_chris_has_chris(self):
     mobber_manager = MobberManager()
     mobber_manager.add_mobber("Chris")
     result = ["Chris"]
     self.assertEqual(mobber_manager.get_mobbers(), result)