MicroPython Fractions

June 11, 2023 ยท View on GitHub

This is an incomplete MicroPython port of the fractions module from the Python standard library.

Running the unit tests

> docker run -ti --rm -v $(pwd):/code -w /code fractest micropython test/test_fractions.py