MCPcopy Index your code
hub / github.com/aitjcize/cppman / func_test

Function func_test

cppman/formatter/cppreference.py:320–326  ·  view source on GitHub ↗

Test if there is major format changes in cplusplus.com

()

Source from the content-addressed store, hash-verified

318
319
320def func_test():
321 """Test if there is major format changes in cplusplus.com"""
322 ifs = urlopen('http://en.cppreference.com/w/cpp/container/vector')
323 result = html2groff(fixupHTML(ifs.read()), 'std::vector')
324 assert '.SH "NAME"' in result
325 assert '.SH "SYNOPSIS"' in result
326 assert '.SH "DESCRIPTION"' in result
327
328
329def test():

Callers

nothing calls this directly

Calls 3

urlopenFunction · 0.90
fixupHTMLFunction · 0.90
html2groffFunction · 0.70

Tested by

no test coverage detected