Skip to content

Commit

Permalink
v1.0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
szczepanskiNicolas committed Nov 28, 2023
1 parent 7877ea9 commit 6629c66
Showing 1 changed file with 19 additions and 18 deletions.
37 changes: 19 additions & 18 deletions pyxai/tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,35 +24,36 @@

def linux_tests():
suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(TestToFeatures))
#suite.addTest(unittest.makeSuite(TestGetInstances))
suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestToFeatures))
suite.addTest(unittest.makeSuite(TestGetInstances))

#suite.addTest(unittest.makeSuite(TestLearningScikitlearn))
#suite.addTest(unittest.makeSuite(TestLearningXGBoost))
#suite.addTest(unittest.makeSuite(TestLearningLightGBM))
suite.addTest(unittest.makeSuite(TestLearningScikitlearn))
suite.addTest(unittest.makeSuite(TestLearningXGBoost))
suite.addTest(unittest.makeSuite(TestLearningLightGBM))

#suite.addTest(unittest.makeSuite(TestSaveLoadScikitlearn))
#suite.addTest(unittest.makeSuite(TestSaveLoadXgboost))
#suite.addTest(unittest.makeSuite(TestSaveLoadLightGBM))
#suite.addTest(unittest.makeSuite(TestImportScikitlearn))
#suite.addTest(unittest.makeSuite(TestImportSimpleScikitlearn))
#suite.addTest(unittest.makeSuite(TestImportXGBoost))
#suite.addTest(unittest.makeSuite(TestImportLightGBM))
#suite.addTest(unittest.makeSuite(TestMisc))
#suite.addTest(unittest.makeSuite(TestDT))
#suite.addTest(unittest.makeSuite(TestRF))
#suite.addTest(unittest.makeSuite(TestBT))
suite.addTest(unittest.makeSuite(TestSaveLoadScikitlearn))
suite.addTest(unittest.makeSuite(TestSaveLoadXgboost))
suite.addTest(unittest.makeSuite(TestSaveLoadLightGBM))
suite.addTest(unittest.makeSuite(TestImportScikitlearn))
suite.addTest(unittest.makeSuite(TestImportSimpleScikitlearn))
suite.addTest(unittest.makeSuite(TestImportXGBoost))
suite.addTest(unittest.makeSuite(TestImportLightGBM))
suite.addTest(unittest.makeSuite(TestMisc))
suite.addTest(unittest.makeSuite(TestDT))
suite.addTest(unittest.makeSuite(TestRF))
suite.addTest(unittest.makeSuite(TestBT))
return suite

def linux_windows():
def windows_tests():
suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(TestToFeatures))
return suite


if __name__ == '__main__':
logging.basicConfig(stream=sys.stdout, level=logging.INFO)
runner = unittest.TextTestRunner(verbosity=2)
if platform.system() == 'Windows':
runner.run(linux_windows())
runner.run(windows_tests())
else:
runner.run(linux_tests())

0 comments on commit 6629c66

Please sign in to comment.