Skip to content

Commit 2cb24ba

Browse files
committed
tests/core_tests.py TestExamples added
1 parent ab548e4 commit 2cb24ba

File tree

5 files changed

+13
-1
lines changed

5 files changed

+13
-1
lines changed

tests/__init__.py

Whitespace-only changes.

tests/core_tests.py

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,6 @@ def test_predict(self):
409409
(np.mean(vote, axis=1), np.std(vote, axis=1))
410410
)
411411

412-
413412
def test_vote(self):
414413
for n_members in range(1, 10):
415414
for n_instances in range(1, 100):
@@ -424,5 +423,18 @@ def test_vote(self):
424423
)
425424

426425

426+
class TestExamples(unittest.TestCase):
427+
428+
def test_examples(self):
429+
import example_tests.active_regression
430+
import example_tests.bagging
431+
import example_tests.ensemble
432+
import example_tests.ensemble_regression
433+
import example_tests.pool_based_sampling
434+
import example_tests.query_by_committee
435+
import example_tests.shape_learning
436+
import example_tests.stream_based_sampling
437+
438+
427439
if __name__ == '__main__':
428440
unittest.main()

tests/example_tests/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)