コード例 #1
0
 def test_should_pass_all_three_rules_for_only_2(self):
     list_of_strings = open('testinputpart1.txt', 'r')
     result = one_function_to_do_it_all_part_1(list_of_strings)
     self.assertEqual(2, result)
コード例 #2
0
 def test_solve_day_5_part_1_for_me(self):
     list_of_strings = open('input.txt', 'r')
     result = one_function_to_do_it_all_part_1(list_of_strings)
     self.assertEqual(255, result)