summaryrefslogtreecommitdiff
path: root/tests/test_gpsdclient.c
Commit message (Collapse)AuthorAgeFilesLines
* deg_to_str(): Add some more tests to check for LSBs.Gary E. Miller2019-02-231-0/+24
|
* deg_to_str(): Change 'nan' to 'n/a'.Gary E. Miller2019-02-221-18/+18
| | | | To be compatible with existing cgps, etc.
* deg_to_str2(): Add new function. Thread safe, handles suffix.Gary E. Miller2019-02-221-28/+92
|
* deg_to_s(): Add check, and regression test, for not a NaN.Gary E. Miller2019-02-221-2/+15
|
* deg_to_s() and calls to it: Allow negative degrees, use fabs().Gary E. Miller2019-02-221-5/+17
| | | | | Every call to deg_to_s() was preceded by a fabs(deg). So move the fabs() into deg_to_s().
* deg_to_s(): Add rounding for dd, ddmm, and ddmmss. Update tests.Gary E. Miller2019-02-221-26/+44
|
* deg_to_s(): Add more tests. Not all 'good'.Gary E. Miller2019-02-211-3/+26
| | | | deg_to_s() needs to do better rounding.
* deg_to_s(): Fix bad conversion. Add test cases.Gary E. Miller2019-02-211-0/+98
Bug and test case by: Stephen Moshier <steve@moshier.net>