예제 #1
0
 def test_add_const_vss_five(self):
     src_data = (1, 2, 3, 4, 5)
     op = gr.add_const_vss((6, 7, 8, 9, 10))
     exp_data = (7, 9, 11, 13, 15)
     self.help_const_ss(src_data, exp_data, op)
    def test_add_const_vss_five(self):
	src_data = (1, 2, 3, 4, 5)
	op = gr.add_const_vss((6, 7, 8, 9, 10))
	exp_data = (7, 9, 11, 13, 15)
	self.help_const_ss(src_data, exp_data, op)
예제 #3
0
 def test_add_const_vss_one(self):
     src_data = (1, )
     op = gr.add_const_vss((2, ))
     exp_data = (3, )
     self.help_const_ss(src_data, exp_data, op)
    def test_add_const_vss_one(self):
	src_data = (1,)
	op = gr.add_const_vss((2,))
	exp_data = (3,)
	self.help_const_ss(src_data, exp_data, op)