def test2x2(self):
   self.assertEquals([[1, 2], [5, 3]], clusters.transpose([[1, 5], [2, 3]]))
Пример #2
0
 def test2x2(self):
     self.assertEquals([[1, 2], [5, 3]], clusters.transpose([[1, 5], [2,
                                                                      3]]))
 def test3x1(self):
   self.assertEquals([[1, 2, 3]], clusters.transpose([[1], [2], [3]]))
Пример #4
0
 def test3x1(self):
     self.assertEquals([[1, 2, 3]], clusters.transpose([[1], [2], [3]]))