def test_add_vss_five(self):
     src1_data = (1, 2, 3, 4, 5)
     src2_data = (6, 7, 8, 9, 10)
     src3_data = (11, 12, 13, 14, 15)
     expected_result = (18, 21, 24, 27, 30)
     op = blocks.add_ss(5)
     self.help_ss(5, (src1_data, src2_data, src3_data), expected_result, op)
Esempio n. 2
0
 def test_add_vss_five(self):
     src1_data = [1, 2, 3, 4, 5]
     src2_data = [6, 7, 8, 9, 10]
     src3_data = [11, 12, 13, 14, 15]
     expected_result = [18, 21, 24, 27, 30]
     op = blocks.add_ss(5)
     self.help_ss(5, (src1_data, src2_data, src3_data), expected_result, op)
 def test_add_vss_one(self):
     src1_data = (1, )
     src2_data = (2, )
     src3_data = (3, )
     expected_result = (6, )
     op = blocks.add_ss(1)
     self.help_ss(1, (src1_data, src2_data, src3_data), expected_result, op)
Esempio n. 4
0
    def test_add_vss_five(self):
	src1_data = (1, 2, 3, 4, 5)
	src2_data = (6, 7, 8, 9, 10)
	src3_data = (11, 12, 13, 14, 15)
	expected_result = (18, 21, 24, 27, 30)
	op = blocks.add_ss(5)
	self.help_ss(5, (src1_data, src2_data, src3_data), expected_result, op)
Esempio n. 5
0
    def test_add_vss_one(self):
	src1_data = (1,)
	src2_data = (2,)
	src3_data = (3,)
	expected_result = (6,)
	op = blocks.add_ss(1)
	self.help_ss(1, (src1_data, src2_data, src3_data), expected_result, op)
Esempio n. 6
0
 def test_add_vss_one(self):
     src1_data = [
         1,
     ]
     src2_data = [
         2,
     ]
     src3_data = [
         3,
     ]
     expected_result = [
         6,
     ]
     op = blocks.add_ss(1)
     self.help_ss(1, (src1_data, src2_data, src3_data), expected_result, op)
Esempio n. 7
0
 def test_add_ss(self):
     src1_data = (1, 2, 3, 4, 5)
     src2_data = (8, -3, 4, 8, 2)
     expected_result = (9, -1, 7, 12, 7)
     op = blocks.add_ss()
     self.help_ss((src1_data, src2_data), expected_result, op)
Esempio n. 8
0
 def test_add_ss(self):
     src1_data = [1,  2, 3, 4, 5]
     src2_data = [8, -3, 4, 8, 2]
     expected_result = [9, -1, 7, 12, 7]
     op = blocks.add_ss()
     self.help_ss((src1_data, src2_data), expected_result, op)
 def test_add_ss(self):
     src1_data = (1,  2, 3, 4, 5)
     src2_data = (8, -3, 4, 8, 2)
     expected_result = (9, -1, 7, 12, 7)
     op = blocks.add_ss()
     self.help_ss((src1_data, src2_data), expected_result, op)