def test_two_same_and_one_different(self): self.assertEqual(harry.books_cost(["1", "1", "2"]), 16*0.95+8)
def test_many_of_the_same(self): self.assertEqual(harry.books_cost(["1", "1", "1"]), 24)
def test_two_of_two_kinds(self): self.assertEqual(harry.books_cost(["1", "2"]), 16*0.95)
def test_two_of_the_same(self): self.assertEqual(harry.books_cost(["1", "1"]), 16)
def test_one_book(self): self.assertEqual(harry.books_cost(["1"]), 8)
def test_empty_bucket(self): self.assertEqual(harry.books_cost([]), 0)