示例#1
0
文件: test.py 项目: shz117/Leetcode
 def test_input_2_1(self):
     num = [2, 1]
     self.assertEqual(solution.twoSum(num, 3), (1, 2))
示例#2
0
文件: test.py 项目: shz117/Leetcode
 def test_empty(self):
     num = []
     self.assertEqual(solution.twoSum(num, 2), None)