Skip to content

Commit 78aba63

Browse files
Update magnetic_flux.py
Fix test mode string
1 parent ccb3e92 commit 78aba63

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

physics/magnetic_flux.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,9 @@ def check_args(magnetic_field: float, area: float, angle: float) -> None:
4949
def magnetic_flux(magnetic_field: float, area: float, angle: float) -> float:
5050
"""
5151
>>> magnetic_flux(50.0, 2, 0.0)
52-
250.0
52+
100.0
5353
>>> magnetic_flux(1.5, 3.0, 60.0)
5454
2.25
55-
>>> magnetic_flux(1.5, 3.0, -60.0)
56-
2.25
5755
>>> magnetic_flux(0.5, 4.0, 90.0)
5856
0.0
5957
>>> magnetic_flux(1, 2.0, 180.0)

0 commit comments

Comments
 (0)