def test_increment_with_carry(self): b = Bruteforce(digits=4, bound=4) expected = [0, 0, 1 ,0] actual = b.increment([0,0,0,3]) self.assertListEqual(expected, actual)
def test_increment_zero(self): b = Bruteforce(digits=4, bound=4) expected = [0, 0, 0 ,1] actual = b.increment([0,0,0,0]) self.assertListEqual(expected, actual)