Coverage for calc.py: 75%
12 statements
« prev ^ index » next coverage.py v7.5.1, created at 2024-05-17 15:05 +0000
« prev ^ index » next coverage.py v7.5.1, created at 2024-05-17 15:05 +0000
1# some comments
2class Calculations:
3 def __init__(self, a, b):
4 self.a = a
5 self.b = b
7 def get_sum(self):
8 return self.a + self.b
10 def get_difference(self):
11 return self.a - self.b
13 def get_product(self):
14 return self.a * self.b
16 def get_quotient(self):
17 return self.a / self.b