Coverage for calc.py: 75%

12 statements  

« 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 

6 

7 def get_sum(self): 

8 return self.a + self.b 

9 

10 def get_difference(self): 

11 return self.a - self.b 

12 

13 def get_product(self): 

14 return self.a * self.b 

15 

16 def get_quotient(self): 

17 return self.a / self.b