Coverage for cli/src/xyfigure/calculator.py: 100%

9 statements  

« prev     ^ index     » next       coverage.py v7.6.9, created at 2024-12-18 01:09 +0000

1def example_add(a, b): 

2 return a + b 

3 

4 

5def example_subtract(a, b): 

6 return a - b 

7 

8 

9def example_multiply(a, b): 

10 return a * b 

11 

12 

13def example_divide(a, b): 

14 return a / b 

15 

16 

17""" 

18Copyright 2023 Sandia National Laboratories 

19 

20Notice: This computer software was prepared by National Technology and Engineering Solutions of 

21Sandia, LLC, hereinafter the Contractor, under Contract DE-NA0003525 with the Department of Energy 

22(DOE). All rights in the computer software are reserved by DOE on behalf of the United States 

23Government and the Contractor as provided in the Contract. You are authorized to use this computer 

24software for Governmental purposes but it is not to be released or distributed to the public. 

25NEITHER THE U.S. GOVERNMENT NOR THE CONTRACTOR MAKES ANY WARRANTY, EXPRESS OR IMPLIED, OR ASSUMES 

26ANY LIABILITY FOR THE USE OF THIS SOFTWARE. This notice including this sentence must appear on any 

27copies of this computer software. Export of this data may require a license from the United States 

28Government. 

29"""