source: orange/Orange/testing/unit/tests/test_tree.py @ 9679:3879dea56188

Revision 9679:3879dea56188, 661 bytes checked in by Miha Stajdohar <miha.stajdohar@…>, 2 years ago (diff)

Moved and renamed testing.

Line 
1from Orange.misc import testing
2from Orange.misc.testing import datasets_driven, test_on_data
3import unittest
4from Orange.classification import tree as ctree
5from Orange.regression import tree as rtree
6from Orange.feature import scoring
7# TODO: test different split_constructors, descenders, measures, stop criteria...
8
9@datasets_driven(datasets=testing.CLASSIFICATION_DATASETS)
10class TestClassification(testing.LearnerTestCase):
11    LEARNER = ctree.TreeLearner()
12
13
14@datasets_driven(datasets=testing.REGRESSION_DATASETS)   
15class TestRegression(testing.LearnerTestCase):
16    LEARNER = rtree.TreeLearner()
17       
18if __name__ == "__main__":
19    unittest.main()
Note: See TracBrowser for help on using the repository browser.