Esempio n. 1
0
 def test_get_shape_helper_2(self):
     self.assertEqual(hfmath.get_shape_helper((1, 2, 3, 4), 2), (3, 4,))
Esempio n. 2
0
 def test_get_shape_helper_3(self):
     self.assertEqual(hfmath.get_shape_helper((1, 2, 3, 4), 0), tuple())
Esempio n. 3
0
 def test_get_shape_helper_1(self):
     self.assertEqual(hfmath.get_shape_helper((1, 2, 3, 4), 1), (4,))