Unit Testing

from blog Writing an OS in Rust, | ↗ original
This post explores unit testing in no_std executables using Rust’s built-in test framework. We will adjust our code so that cargo test works and add some basic unit tests to our VGA buffer module. This blog is openly developed on GitHub. If you have any problems or questions, please open an issue there. You can also leave comments at the bottom....