def test_first_88(self): self.assertTrue(three_go_in(19)) self.assertFalse(three_go_in(2)) self.assertRaises(TypeError, three_go_in, 'abc') self.assertRaises(TypeError, three_go_in, (4, 3)) self.assertRaises(TypeError, three_go_in, {1: 3}) self.assertRaises(TypeError, three_go_in, {8, 2}) self.assertRaises(TypeError, three_go_in, [1, 3]) self.assertRaises(TypeError, three_go_in)
def test_09_task_88(): with pytest.raises(TypeError): three_go_in("To be or not to be?")
def test_08_task_88_fail(): assert three_go_in(2)
def test_07_task_88(): with pytest.raises(TypeError): three_go_in()
def test_04_task_88(): with pytest.raises(TypeError): three_go_in({14: 6})
def test_01_task_88(): assert three_go_in(19)
def test_00_task_88(param_test): (inputting, expected_output) = param_test result = three_go_in(inputting) assert result == expected_output