def test2x2(self):
   self.assertEquals([[1, 2], [5, 3]], clusters.transpose([[1, 5], [2, 3]]))
Esempio n. 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]]))
Esempio n. 4
0
 def test3x1(self):
     self.assertEquals([[1, 2, 3]], clusters.transpose([[1], [2], [3]]))