from mycalc import MyCalc

mc1 = MyCalc(1, 100)
mc2 = MyCalc(10, 4)

try:
  assert mc1.add() == 101, "Test of add() failed."
  assert mc2.mod_divide() == (2, 2), "Test of mod_divide() failed."
except AssertionError as e:
  print("Test failed: ", e)
else:
  print("Tests succeeded!")
