Ejemplo n.º 1
0
 def test_as_list(self):
     assert_is_instance(basic_stats.xtile(list(xrange(100)), as_list=True),
                        list)
Ejemplo n.º 2
0
 def test_string(self):
     s = '      -----------       *|          ----------    ,   ' +\
         '4.00,  14.00,  24.00,  34.00,  44.00'
     assert_equals(basic_stats.xtile(list(xrange(50))), s)
Ejemplo n.º 3
0
 def xtile(self, *args, **kw):
     return basic_stats.xtile(self._cache, *args, **kw)
Ejemplo n.º 4
0
 def test_as_list(self):
     assert_is_instance(
         basic_stats.xtile(list(xrange(100)), as_list=True), list)
Ejemplo n.º 5
0
 def test_string(self):
     s = '      -----------       *|          ----------    ,   ' +\
         '4.00,  14.00,  24.00,  34.00,  44.00'
     assert_equals(basic_stats.xtile(list(xrange(50))), s)
Ejemplo n.º 6
0
 def xtile(self, *args, **kw):
     return basic_stats.xtile(self._cache, *args, **kw)