arithmetic-formatter/main.py
gikf c4921d2d7b
feat: use pytest for testing (#6)
* feat: use pytest for testing

* fix: improve wording

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>

* feat: add tests with two problems

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-08-26 09:08:31 +02:00

12 lines
272 B
Python

# This entrypoint file to be used in development. Start by reading README.md
from pytest import main
from arithmetic_arranger import arithmetic_arranger
print(arithmetic_arranger(["32 + 698", "3801 - 2", "45 + 43", "123 + 49"]))
# Run unit tests automatically
main()