import unittest

__all__ = ["test"]

def test() -> unittest.TextTestResult:
    loader: unittest.TestLoader
    tests: unittest.TestSuite
    loader = unittest.TestLoader()
    tests = loader.discover(start_dir="{pkg}.tests")
    return unittest.TextTestRunner().run(tests)