MCPcopy Create free account
hub / github.com/aitjcize/cppman / func_test

Function func_test

cppman/formatter/cplusplus.py:223–229  ·  view source on GitHub ↗

Test if there is major format changes in cplusplus.com

()

Source from the content-addressed store, hash-verified

221
222
223def func_test():
224 """Test if there is major format changes in cplusplus.com"""
225 ifs = urlopen('http://www.cplusplus.com/printf')
226 result = html2groff(fixupHTML(ifs.read()), 'printf')
227 assert '.SH "NAME"' in result
228 assert '.SH "TYPE"' in result
229 assert '.SH "DESCRIPTION"' in result
230
231
232def test():

Callers

nothing calls this directly

Calls 3

urlopenFunction · 0.90
fixupHTMLFunction · 0.90
html2groffFunction · 0.70

Tested by

no test coverage detected