Esempio n. 1
0
 def test_xlist_shuffle(self):
     xl = XList([1, 2, 3], {'first_attr': 1})
     nl = xl.random_sample(2)
Esempio n. 2
0
 def test_xlist_shuffle(self):
     xl = XList([1 , 2, 3], {'first_attr': 1})
     nl = xl.random_sample(2)
Esempio n. 3
0
 def test_xlist_random_sample_noexception(self):
     xl = XList([1, 2, 3], {'first_attr': 1})
     nl = xl.random_sample(2)
     self.assertTrue(len(nl) == 2)
Esempio n. 4
0
 def test_xlist_random_sample_noexception(self):
     xl = XList([1 , 2, 3], {'first_attr': 1})
     nl = xl.random_sample(2)
     self.assertTrue(len(nl) == 2)