示例#1
0
 def test_x_plus_a(self):
     assert_allclose(func_mirror_for_even_weight(np.array([2,4]),
                                                 self.x_plus_a, 8), [6, 4])
示例#2
0
 def test_x_plus_a(self):
     assert_allclose(
         func_mirror_for_even_weight(np.array([2, 4]), self.x_plus_a, 8),
         [6, 4])
示例#3
0
 def test_x(self):
     assert_allclose(func_mirror_for_even_weight(2,self.xxx), -2)
示例#4
0
 def test_x(self):
     assert_allclose(func_mirror_for_even_weight(2, self.xxx), -2)