Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | time-regress: Add test for NaN case. | Fred Wright | 2019-03-21 | 1 | -0/+3 |
| | | | | | | | | | | This was punted when fixing the NaN case, due to the failure to notice that a NaN constant was available with unexpected capitalization. Now the test exists. TESTED: The new test fails with an intentionally incorrect expected value, and passes with the correct expectation. | ||||
* | deg_to_str(): Add some more tests to check for LSBs. | Gary E. Miller | 2019-02-23 | 1 | -0/+24 |
| | |||||
* | deg_to_str(): Change 'nan' to 'n/a'. | Gary E. Miller | 2019-02-22 | 1 | -18/+18 |
| | | | | To be compatible with existing cgps, etc. | ||||
* | deg_to_str2(): Add new function. Thread safe, handles suffix. | Gary E. Miller | 2019-02-22 | 1 | -28/+92 |
| | |||||
* | deg_to_s(): Add check, and regression test, for not a NaN. | Gary E. Miller | 2019-02-22 | 1 | -2/+15 |
| | |||||
* | deg_to_s() and calls to it: Allow negative degrees, use fabs(). | Gary E. Miller | 2019-02-22 | 1 | -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. Miller | 2019-02-22 | 1 | -26/+44 |
| | |||||
* | deg_to_s(): Add more tests. Not all 'good'. | Gary E. Miller | 2019-02-21 | 1 | -3/+26 |
| | | | | deg_to_s() needs to do better rounding. | ||||
* | deg_to_s(): Fix bad conversion. Add test cases. | Gary E. Miller | 2019-02-21 | 1 | -0/+98 |
| | | | | Bug and test case by: Stephen Moshier <steve@moshier.net> | ||||
* | Fixes time-regress for 32-bit time_t platforms. | Fred Wright | 2018-11-21 | 1 | -1/+24 |
| | | | | | | | | | | | | One of the test cases for the unix<->iso8601 tests uses a value which exceeds the time range on systems with a 32-bit time_t. This adds a check to skip such cases (with a warning message) on such platforms. TESTED: Ran time-regress on both a 64-bit time_t machine and a 32-bit time_t machine. It now succeeds in both cases, with warnings in the 32-bit case. | ||||
* | test_gpsmm: Fix to build in new tests/ directory. | Gary E. Miller | 2018-11-09 | 1 | -2/+2 |
| | |||||
* | tests: move most tests into tests/ | Gary E. Miller | 2018-11-08 | 12 | -0/+2929 |
Cuts the clutter a bit in the top level directory. |