def test_function_behaviour7(self): """ Answer 11, 23 with input 253 """ with patch("builtins.input", return_value="1") as input_call: import attempt a, b = attempt.primes(253) self.assertEqual([a, b], [11, 23])
def test_function_behaviour6(self): """ Answer 17, 29 with input 493 """ with patch("builtins.input", return_value="1") as input_call: import attempt a, b = attempt.primes(493) self.assertEqual([a, b], [17, 29])
def test_function_behaviour4(self): """ Answer 3, 5 with input 15 """ with patch("builtins.input", return_value="1") as input_call: import attempt a, b = attempt.primes(15) self.assertEqual([a, b], [3, 5])
def test_function_behaviour5(self): """ Answer 5, 13 with input 65 """ with patch("builtins.input", return_value="1") as input_call: import attempt a, b = attempt.primes(65) self.assertEqual([a, b], [5, 13])
def test_function_behaviour2(self): """ Answer -1, -1 with input -3 """ with patch("builtins.input", return_value="1") as input_call: import attempt a, b = attempt.primes(-3) self.assertEqual([a, b], [-1, -1])