419134bea4
According to documentation time() has a precision of at least 1 second. This test runs for 2.5 seconds and calls all utime functions every 100ms. Then it checks if they returned enough different results. All functions with sub-second precision will return ~25 results. This test passes with 15 results or more. Functions that do not exist are skipped silently.
10 lines
158 B
Plaintext
10 lines
158 B
Plaintext
Testing time
|
|
Testing gmtime
|
|
Testing localtime
|
|
Testing gmtime_time
|
|
Testing localtime_time
|
|
Testing ticks_ms
|
|
Testing ticks_us
|
|
Testing ticks_ns
|
|
Testing ticks_cpu
|