def test_compare_to_brute(self): for i in (10, 1024, 10004): self.assertEqual( sum_through(i), brute(i))
def test_canned(self): self.assertEqual( sum_through(10), 55)