def test_untrans_bit_elem_scal(self): self.fun = lambda x: ext.untrans_bit_elem_scal(ext.trans_bit_elem(x)) self.check = lambda x: x
def test_untrans_bit_elem_AVX(self): self.fun = lambda x: ext.untrans_bit_elem_SSE(ext.trans_bit_elem(x)) self.check = lambda x: x
def deactivated_test_untrans_bit_elem(self): d = np.arange(32, dtype=np.uint16) #d = random.randint(0, 2**7, 256).astype(np.uint16) d1 = ext.trans_bit_elem(d) #print d t = ext.untrans_bit_elem_AVX(d1)