A scientific calculator University project
Note: Code coverage might be outdated at the moment. I had not realized it has been failing to build. See here for how to generate an up-to-date report yourself.
The project is done. Type system is integrated & tested, all planned operators are there, most important functions are there, constants are there, the user interface is polished, a lot of testing (both unit and manual) has been done.
I develop on the latest nightly and update fairly regularly, but there is a good chance the code works on the latest stable as well.
Use rustup toolchain install nightly to add the nightly toolchain and cargo run +nightly to run as nightly, if necessary.
Code coverage is automatically generated using GitHub Actions, and can be viewed for the latest commit here.
To run the tests, the only precursor is having Rust itself installed. Run cargo test to run the tests.
The tests are contained within the same file as the contents they test, at the bottom, as is common.
For linting, I'm using Clippy. Run with cargo clippy.
