January 2019
Beginner to intermediate
554 pages
13h 31m
English
In this chapter, we will continue with Cargo and learn how to write tests, how to document our code, and how to measure the performance of our code with benchmark tests. We'll then put those skills to use and build a simple crate that simulates logic gates, giving you an end- to-end experience of writing unit and integration tests, as well as documentation tests.
In this chapter, we'll cover the following topics:
Read now
Unlock full access