Fixes incorrect derivation of NS/EW values when creating NMEAMessage objects using explicit lat/lon arguments. NB: NS and EW values will always be derived from the sign of lat and lon (-ve lat => "S", -ve lon => "W") and need not be provided explicitly.
Fixes #55
Testing
Please test all changes, however trivial, against the supplied pytest suite tests/test_*.py. Please describe any test cases you have amended or added to this suite to maintain >= 99% code coverage.
pynmeagps Pull Request Template
Description
NS
/EW
values when creating NMEAMessage objects using explicitlat
/lon
arguments. NB:NS
andEW
values will always be derived from the sign oflat
andlon
(-ve lat => "S", -ve lon => "W") and need not be provided explicitly.Fixes #55
Testing
Please test all changes, however trivial, against the supplied pytest suite
tests/test_*.py
. Please describe any test cases you have amended or added to this suite to maintain >= 99% code coverage.Checklist:
tests/test_*.py
unittest suite to maintain >= 99% code coverage.tests/test_*.py
unittest suite.