Exemplo n.º 1
0
 def test_xlist_max_float(self):
     xl = XList([1.25123, 2.5234, 3.73423], {'first_attr': 1})
     max_num = xl.max()
     self.assertEqual(max_num, 3.73423)
Exemplo n.º 2
0
 def test_xlist_max_float(self):
     xl = XList([1.25123 , 2.5234, 3.73423], {'first_attr': 1})
     max_num = xl.max()
     self.assertEqual(max_num, 3.73423)
Exemplo n.º 3
0
 def test_xlist_max_int(self):
     xl = XList([1, 2, 3], {'first_attr': 1})
     max_num = xl.max()
     self.assertEqual(max_num, 3)
Exemplo n.º 4
0
 def test_xlist_max_int(self):
     xl = XList([1 , 2, 3], {'first_attr': 1})
     max_num = xl.max()
     self.assertEqual(max_num, 3)