Damien George
0acf868bb7
tests/extmod/time_ms_us: Fix ticks tests, ticks_diff args are reversed.
2018-03-04 00:38:15 +11:00
Damien George
e3d11b6a6e
tests/extmod/time_ms_us: Add test for calling ticks_cpu().
...
This is just to test that the function exists and returns some kind of
valid value. Although this file is for testing ms/us functions, put the
ticks_cpu() test here so not to add a new test file.
2018-03-04 00:17:33 +11:00
Paul Sokolovsky
85d809d1f4
tests: Convert remaining "sys.exit()" to "raise SystemExit".
2017-06-10 20:34:38 +03:00
Paul Sokolovsky
acea9352a9
tests/extmod: Add tests for sleep_ms/us(), ticks_ms/us/diff().
...
Simple smoke tests, mostly for coverage. Added to extmod based on the fact
that they're extensions to standard modules.
2015-10-20 01:54:20 +03:00