def test_x_plus_a(self): assert_allclose(func_mirror_for_even_weight(np.array([2,4]), self.x_plus_a, 8), [6, 4])
def test_x_plus_a(self): assert_allclose( func_mirror_for_even_weight(np.array([2, 4]), self.x_plus_a, 8), [6, 4])
def test_x(self): assert_allclose(func_mirror_for_even_weight(2,self.xxx), -2)
def test_x(self): assert_allclose(func_mirror_for_even_weight(2, self.xxx), -2)