# Path: dynts/utils/test.py
# def haszoo():
#     def __init__(self, *args, **kwargs):
#     def setUp(self):
#     def tearDown(self):
#     def randomts(self, **kwargs):
#     def getdata(self, size=100, cols=1, delta=1, start=None):
#     def getts(self, returndata=False, delta=1, cols=1, size=100):
#     def timeseries(self, name='', date=None, data=None):
#     def isiterable(self, a):
#     def assertAlmostEqual(self, a, b, places=7, msg=None):
#     def assertEqual(self, exp, recv, msg = None):
#     def check_dates(self, ts, dts):
#     def check_values(self, ts, vals):
#     def _check_vectors(self, v1, v2, equal=True):
# class TestCase(unittest.TestCase):
# 
# Path: dynts/utils/populate.py
# def _generator(x):
#     def __init__(self, data):
#     def __iter__(self):
# def datepopulate(size = 10, start=None, delta=1):
# def populate(size=100, cols=1, generator=None):
# def polygen(*coefficients):
#         def _(i):
# class gdata(object):


from dynts.utils import test
from dynts.utils.populate import randomts, polygen



class TestDelta(test.TestCase):

    def getts(self, cols, *coefs):
        return randomts(100, cols, backend=self.backend,
                        generator = polygen(*coefs))


# Path: dynts/utils/test.py
# def haszoo():
#     def __init__(self, *args, **kwargs):
#     def setUp(self):
#     def tearDown(self):
#     def randomts(self, **kwargs):
#     def getdata(self, size=100, cols=1, delta=1, start=None):
#     def getts(self, returndata=False, delta=1, cols=1, size=100):
#     def timeseries(self, name='', date=None, data=None):
#     def isiterable(self, a):
#     def assertAlmostEqual(self, a, b, places=7, msg=None):
#     def assertEqual(self, exp, recv, msg = None):
#     def check_dates(self, ts, dts):
#     def check_values(self, ts, vals):
#     def _check_vectors(self, v1, v2, equal=True):
# class TestCase(unittest.TestCase):
# 
# Path: dynts/utils/populate.py
# def _generator(x):
#     def __init__(self, data):
#     def __iter__(self):
# def datepopulate(size = 10, start=None, delta=1):
# def populate(size=100, cols=1, generator=None):
# def polygen(*coefficients):
#         def _(i):
# class gdata(object):


# Path: tests/unit/tsdelta.py
from dynts.utils import test
from dynts.utils.populate import randomts, polygen



class TestDelta(test.TestCase):

    def getts(self, cols, *coefs):
        return randomts(100, cols, backend=self.backend,
                        generator = polygen(*coefs))


    def testp0Delta(self):
