コード例 #1
0
 def test_flatten3(self):
     arr0 = [(1, 2), (3, 4), (5, 6), (7, 8), (9, 10)]
     arr1 = [[(1, 2), (3, 4), (5, 6), (7, 8), (9, 10)]]
     self.assertEqual(_flatten(arr1), arr0)
     return
コード例 #2
0
ファイル: geometry_tests.py プロジェクト: fortyninemaps/karta
 def test_flatten3(self):
     arr0 = [(1, 2), (3, 4), (5, 6), (7, 8), (9, 10)]
     arr1 = [[(1, 2), (3, 4), (5, 6), (7, 8), (9, 10)]]
     self.assertEqual(_flatten(arr1), arr0)
     return