def testMultipleNestedMultiLine(self): testaroo = CountLines() newString = testaroo.strippedMultiLineComments('This is a /*t\ne/*s*/\n/*t*/\n*/ of the Java/*Script*/ RegExp object') assert newString == 'This is a \n of the Java RegExp object' pass
def testNestedSingleLine(self): testaroo = CountLines() newString = testaroo.strippedMultiLineComments('Test a st/*hi*/ri/*blah*/ng lik/*blahblah*/e this') assert newString == 'Test a string like this' pass