Files
TransPyC/Test/ZlibTest/App/main.vp
T

21 lines
493 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import t
import stdio
import string
import zlib.pyzlib as stdzp
import test_pyzlib as tpz
import w32.win32memory
import c
import testcheck
def main() -> t.CInt:
testcheck.begin("ZlibTest: Zlib 压缩库测试")
tpz.main123456()
testcheck.ok("zlib test_pyzlib completed")
# 标准 zlib 库(includes/zlib)
testcheck.section("标准 zlib 库 (zlib.pyzlib)")
print(stdzp.runtime_version())
testcheck.ok("zlib runtime version printed")
return testcheck.end()