mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-03-23 06:59:47 +00:00
reversed tests
This commit is contained in:
parent
cea2deb0c8
commit
db7db3b370
@ -92,9 +92,9 @@ def test_motion() -> None:
|
|||||||
>>> test_motion()
|
>>> test_motion()
|
||||||
"""
|
"""
|
||||||
v0, angle = 25, 20
|
v0, angle = 25, 20
|
||||||
assert 40.97 == horizontal_distance(v0, angle)
|
assert horizontal_distance(v0, angle) == 40.97
|
||||||
assert 3.73 == max_height(v0, angle)
|
assert max_height(v0, angle) == 3.73
|
||||||
assert 1.74 == total_time(v0, angle)
|
assert total_time(v0, angle) == 1.74
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user