예제 #1
0
 def test_add_const_vii_five(self):
     src_data = (1, 2, 3, 4, 5)
     op = gr.add_const_vii((6, 7, 8, 9, 10))
     exp_data = (7, 9, 11, 13, 15)
     self.help_const_ii(src_data, exp_data, op)
    def test_add_const_vii_five(self):
	src_data = (1, 2, 3, 4, 5)
	op = gr.add_const_vii((6, 7, 8, 9, 10))
	exp_data = (7, 9, 11, 13, 15)
	self.help_const_ii(src_data, exp_data, op)
예제 #3
0
 def test_add_const_vii_one(self):
     src_data = (1, )
     op = gr.add_const_vii((2, ))
     exp_data = (3, )
     self.help_const_ii(src_data, exp_data, op)
    def test_add_const_vii_one(self):
	src_data = (1,)
	op = gr.add_const_vii((2,))
	exp_data = (3,)
	self.help_const_ii(src_data, exp_data, op)