def test_add_gift(self): santa = SantasBag() temp = santa.checkChild("Tom") santa.add_gift(1,"Piano", "NICE", "Brad") santa.add_gift(2, "Bear", "NICE", "Tom") temp = santa.checkGift("Bear", 2) print(f"Test of Addding Gift to Child: {temp}") self.assertEqual(temp, (2, "Bear", 0, 2, 2, "Tom", "NICE")) print()
def test_add_child(self): santa = SantasBag() temp = santa.checkChild("Brad") print(f"Test of Adding New Child: {temp}") self.assertEqual(temp, (1, "Brad", "NICE")) print()