コード例 #1
0
ファイル: test.py プロジェクト: johnnywsd/leetcode_python
 def test(self):
     s = Solution()
     count = s.removeElement(self.A, self.elem)
     self.assertItemsEqual(self.A, self.correct_answer)
     self.assertEqual(count, len(self.correct_answer))