Exemplo n.º 1
0
 def test_solve_day4_part1(self):
     secret_key = "yzbqklnj"
     result = mine_bitcoins_part1(secret_key)
     print "The Answer to Day 4, Part 1 is: " + str(result) #Answer: 282749
Exemplo n.º 2
0
 def test_first_test_example_given(self):
     secret_key = "abcdef"
     result = mine_bitcoins_part1(secret_key)
     self.assertEqual(609043, result)
Exemplo n.º 3
0
 def test_second_test_example_given(self):
     secret_key = "pqrstuv"
     result = mine_bitcoins_part1(secret_key)
     self.assertEqual(1048970, result)