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