def test_income_by_category_5_lowest(self): self.assertEqual(income_by_category(5, 10000), [10001, 14999])
def test_income_by_category_5(self): self.assertEqual(income_by_category(5, 20000), [15000, 24999])
def test_income_by_category_4(self): self.assertEqual(income_by_category(4), [5001, 10000])
def test_income_by_category_3(self): self.assertEqual(income_by_category(3), [1001, 5000])
def test_income_by_category_2(self): self.assertEqual(income_by_category(2), [500, 1000])
def test_income_by_category_1(self): self.assertEqual(income_by_category(1), [1, 499])
def test_income_by_category_probono(self): self.assertEqual(income_by_category(0), [0, 0])