MicroPython Fractions
This is an incomplete MicroPython↗ (opens in a new tab) 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