1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
#! /usr/bin/env python
# Last Change: Mon Jul 02 03:00 PM 2007 J
from numpy.testing import *
set_package_path()
from examples.examples import ex1, ex2, ex3, pdfestim, pdfestim1d
restore_path()
# #Optional:
# set_local_path()
# # import modules that are located in the same directory as this file.
# restore_path()
class test_examples(NumpyTestCase):
def test_ex1(self, level = 3):
ex1()
def test_ex2(self, level = 3):
ex2()
def test_ex3(self, level = 3):
ex3()
def test_pdfestim(self, level = 5):
pdfestim()
def test_pdfestim1d(self, level = 5):
pdfestim1d()
if __name__ == "__main__":
NumpyTest().run()
|