예제 #1
0
 def test_x_plus_a(self):
     assert_allclose(func_mirror_for_odd_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_odd_weight(np.array([2, 4]), self.x_plus_a, 8),
         [-6, -4])
예제 #3
0
 def test_x(self):
     assert_allclose(func_mirror_for_odd_weight(2, self.xxx), 2)
예제 #4
0
 def test_x(self):
     assert_allclose(func_mirror_for_odd_weight(2, self.xxx), 2)