def test_add_const_vff_five(self): src_data = (1.0, 2.0, 3.0, 4.0, 5.0) op = blocks_swig.add_const_vff((6.0, 7.0, 8.0, 9.0, 10.0)) exp_data = (7.0, 9.0, 11.0, 13.0, 15.0) self.help_const_ff(src_data, exp_data, op)
def test_add_const_vff_one(self): src_data = (1.0,) op = blocks_swig.add_const_vff((2.0,)) exp_data = (3.0,) self.help_const_ff(src_data, exp_data, op)
def test_add_const_vff_one(self): src_data = (1.0, ) op = blocks_swig.add_const_vff((2.0, )) exp_data = (3.0, ) self.help_const_ff(src_data, exp_data, op)