예제 #1
0
 def test_remove_verilog_comments(self):
     self.assertEqual(_remove_verilog_comments("a\n// foo \nb"),
                      "a\n       \nb")
     self.assertEqual(_remove_verilog_comments("a\n/* foo\n \n */ \nb"),
                      "a\n      \n \n    \nb")
예제 #2
0
 def test_remove_verilog_comments(self):
     self.assertEqual(_remove_verilog_comments("a\n// foo \nb"),
                      "a\n       \nb")
     self.assertEqual(_remove_verilog_comments("a\n/* foo\n \n */ \nb"),
                      "a\n      \n \n    \nb")