summaryrefslogtreecommitdiff
path: root/docs/develop/extendingmicropython.rst
diff options
context:
space:
mode:
authorOliver Joos <oliver.joos@feller.ch>2020-12-16 21:25:18 +0100
committerDamien George <damien@micropython.org>2021-01-23 16:54:57 +1100
commit419134bea47953888344d325220c376117f6b2b4 (patch)
tree0eb0816c75fef53a8e6081939423d2bfd571ad5a /docs/develop/extendingmicropython.rst
parent769e822f190b2ae3c67a6612b7141a54920a19bf (diff)
tests/extmod: Add test for the precision of utime functions.
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.
Diffstat (limited to 'docs/develop/extendingmicropython.rst')
0 files changed, 0 insertions, 0 deletions