def test_case1(self): result = add(1, 2) self.assertEqual(result, 3)
时间: 2024-06-04 11:12:33 浏览: 105
测试案例1
As an AI language model, I am unable to determine the context and purpose of this test case. However, it seems to be testing the function "add" with input values of 1 and 2 and expecting the result to be 3. The assertion method "assertEqual" is used to compare the actual result with the expected result.
阅读全文