MCPcopy Create free account
hub / github.com/SplootCode/splootcode / testComments

Method testComments

python/tests/test_text_generator.py:23–27  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

21 self.assertEqual(result, original)
22
23 def testComments(self):
24 original = "# Something is going on here!\nprint('Hello, World!')"
25 sploot = splootFromPython(original)
26 result = convertSplootToText(sploot)
27 self.assertEqual(result, original)
28
29 def testLineGaps(self):
30 original = "# Something is going on here!\n##SPLOOTCODEEMPTYLINE\nprint('Hello, World!')\n##SPLOOTCODEEMPTYLINE\n##SPLOOTCODEEMPTYLINE"

Callers

nothing calls this directly

Calls 2

splootFromPythonFunction · 0.90
convertSplootToTextFunction · 0.90

Tested by

no test coverage detected