Coverage for src / pkg_test_dprohe / core / core_2.py: 50%
4 statements
« prev ^ index » next coverage.py v7.13.4, created at 2026-02-15 20:52 +0000
« prev ^ index » next coverage.py v7.13.4, created at 2026-02-15 20:52 +0000
1"""
2Docstring for src.pkg_test_dprohe.core.core_2
3"""
6def multiply(val_1: float | int | complex, val_2: float | int | complex):
7 """Multiplies two values together
9 Parameters
10 ----------
11 val_1 : float | int | complex
12 The first value
13 val_2 : float | int | complex
14 The second value
16 Returns
17 -------
18 product : float | int | complex
19 The multiplication of the two values
20 """
21 return val_1 * val_2
24def divide(val_1: float | int | complex, val_2: float | int | complex):
25 """Divides two values together
27 Parameters
28 ----------
29 val_1 : float | int | complex
30 The first value
31 val_2 : float | int | complex
32 The second value
34 Returns
35 -------
36 ratio : float | int | complex
37 The division of the two values
38 """
39 return val_1 / val_2