source:
tmcsimulator/trunk/src/python/unifiedlogger/test_logging_service.py
@
478
| Revision 478, 234 bytes checked in by jdalbey, 7 years ago (diff) |
|---|
| Line | |
|---|---|
| 1 | from logging_service import toHMS |
| 2 | |
| 3 | def test_toHMS(): |
| 4 | assert toHMS(1) == "0:00:01" |
| 5 | assert toHMS(3599) == "0:59:59" |
| 6 | assert toHMS(3600) == "1:00:00" |
| 7 | assert toHMS(3601) == "1:00:01" |
| 8 | print "Pass" |
| 9 | |
| 10 | test_toHMS() |
| 11 | |
| 12 |
Note: See TracBrowser
for help on using the repository browser.
