def test_xor_ss (self):
     src1_data =       (1,  2,  3,  0x5004,   0x1150)
     src2_data =       (8,  2,  1 , 0x0508,   0x1105)
     expected_result = (9,  0,  2,  0x550C,   0x0055)
     op = blocks.xor_ss ()
     self.help_ss ((src1_data, src2_data),
                   expected_result, op)
 def test_xor_ss (self):
     src1_data =       [1,  2,  3,  0x5004,   0x1150]
     src2_data =       [8,  2,  1 , 0x0508,   0x1105]
     expected_result = [9,  0,  2,  0x550C,   0x0055]
     op = blocks.xor_ss ()
     self.help_ss ((src1_data, src2_data),
                   expected_result, op)
示例#3
0
 def test_xor_ss(self):
     src1_data = (1, 2, 3, 0x5004, 0x1150)
     src2_data = (8, 2, 1, 0x0508, 0x1105)
     expected_result = (9, 0, 2, 0x550C, 0x0055)
     op = blocks.xor_ss()
     self.help_ss((src1_data, src2_data), expected_result, op)