runtests.py

来自「在Linux下做的QuadTree的程序」· Python 代码 · 共 32 行

PY
32
字号
# $Id: runtests.py 1820 2006-09-06 16:54:23Z mloskot $# ===========================================================================# Copyright 2004 Sean Gillies, sgillies@frii.com## This is free software; you can redistribute and/or modify it under# the terms of the GNU Lesser General Public Licence as published# by the Free Software Foundation. # See the COPYING file for more information.# ===========================================================================## Execute this module as a script from PyGEOS##     python tests/runtests.py -v## ===========================================================================import unittest# Import test casesfrom test_geometry import TestGeometry# Create a test suitesuite = unittest.TestSuite()# Add tests to the suitesuite.addTest(TestGeometry)# If module is run as a script, execute every test case in the suiteif __name__ == '__main__':    unittest.main()

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?