def _(): assert calculate.minus(4, 2) == 2
def runMinus(): print("This is Minus function") print("result: 5-3="+str(calculate.minus(5, 3))) return
def _(): assert calculate.minus(1, 1) == 0
def _(): assert calculate.minus(2, 1) == 1
def test_minus(self): minus = mock.Mock(return_value=-1) self.assertEqual(-1, minus(1, 2))
#import math from math import ceil from math import fsum as sexy_sum from calculate import plus, minus #print(math.ceil(1.2)) print(ceil(1.2)) print(sexy_sum([1, 2, 3, 4, 5, 6, 7])) print(plus(1, 2), minus(1, 2))
from calculate import plus, minus print(plus (1,2)) print(minus (1,2))