﻿import unittest
from . import doctests
from .trans import TestTrans
from .error import TestError
from .tool import TestTool
from .netff import TestFF
from .net import TestNet

suite = unittest.TestSuite()
suite.addTest(unittest.TestLoader().loadTestsFromModule(doctests))
suite.addTest(unittest.makeSuite(TestTrans))
suite.addTest(unittest.makeSuite(TestError))
suite.addTest(unittest.makeSuite(TestTool))
suite.addTest(unittest.makeSuite(TestFF))
suite.addTest(unittest.makeSuite(TestNet))


def test():
    import neurolab as nl
    print('Neurolab version {}'.format(nl.__version__))
    unittest.TextTestRunner(verbosity=2).run(suite)
