Browse Source

Floats are a mistake

pull/37/head
Dashie der otter 11 months ago
parent
commit
a79b253a6f
Signed by: Dashie <dashie@sigpipe.me> GPG Key ID: C2D57B325840B755
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      tests/test_libjambon.py

+ 2
- 1
tests/test_libjambon.py View File

@@ -51,7 +51,8 @@ def test_bearing(lon, lat, bear):
# Always lon, lat
_from = [2.208333333333343, 48.97916666666666]
z = bearing.initial_compass_bearing(_from[1], _from[0], lat, lon)
assert z == bear
# assert z == bear
assert bear == pytest.approx(z)


@parameterized.expand(

Loading…
Cancel
Save