Turn non-automated tests into Cargo examples #24
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "cargo-examples_on_main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Some of the Cargo tests on the main branch are designed to print output for human inspection, not to verify computations automatically. The incoming branch turns these tests into Cargo examples. It also makes two organizational changes in pursuit of this goal:
engine::irisawa
module. This code is shared by a test and an example. Compilation is controlled by thedev
feature, which is turned on by default in development mode.I've verified that printed output of the examples hasn't changed between the head (
848f7d6
) and base (e917272
) of the incoming branch.Checkout
From your project repository, check out a new branch and test the changes.