I have written unit tests for each and every operator (~40 for each of the ~25 operators). The interpreter seems to match the output of the standard Python shell on each test. Through this process, I found and fixed a few bugs.
We can add more unit tests later if I missed any cases. I will also add integration tests in the future that combine multiple operators into one expression to tests things like associativity and precedence. But, I think it's good to get this set of tests on main for now.
I have written unit tests for each and every operator (~40 for each of the ~25 operators). The interpreter seems to match the output of the standard Python shell on each test. Through this process, I found and fixed a few bugs.
We can add more unit tests later if I missed any cases. I will also add integration tests in the future that combine multiple operators into one expression to tests things like associativity and precedence. But, I think it's good to get this set of tests on
main
for now.