Ejemplo n.º 1
0
def test_mult_zero():
    a = 15
    b = 0

    calc = Calc()

    assert calc.mult(a, b) == 0
Ejemplo n.º 2
0
Archivo: run.py Proyecto: milomia/test3
from calc import Calc

c=Calc()
x=c.add(5,7)
y=c.sub(5,7)
z=c.mult(5,7)
a=c.div(20,3)
b=c.mod(20,3)

print("user 2 made this change")
print(f"the diff between 5 and 7 is {y}")
print(f"the product of 5 and 7 is {z}")
print(f"the div of 20  / 3 is {a}")
print(f"the modulus of 20 / 3 is {b}")
print("user 1 made this change")
print("user 2 made this change")
print("milomia 2 made this change")
print("milomia  made this change")