コード例 #1
0
def run_full_test_suite():
	"""Run the complete test suite for PyGMO."""
	from PyGMO import test
	from _hypervolume_tests import get_hv_suite
	suite = _ut.TestLoader().loadTestsFromModule(test)
	# Add hypervolume suite explicitly
	suite.addTests(get_hv_suite())

	_ut.TextTestRunner(verbosity = 2).run(suite)
コード例 #2
0
def run_hv_test_suite():
	"""Run the hypervolume test suite."""
	from _hypervolume_tests import get_hv_suite
	_ut.TextTestRunner(verbosity = 2).run(get_hv_suite())