Пример #1
0
 def test_get_axis_padding_tuple_3d(self):
     padding = get_axis_padding((0.1, 0.2, 0.3))
     self.assertEqual(padding, (0.1, 0.2, 0.3))
Пример #2
0
 def test_get_axis_padding_scalar(self):
     padding = get_axis_padding(0.1)
     self.assertEqual(padding, (0.1, 0.1, 0.1))