Commit graph

7 commits

Author SHA1 Message Date
7dad623947 Add a top-level run command to the "play with prototype"
All checks were successful
/ test (pull_request) Successful in 2m19s
It's very convenient for me to just stay in the top-level directory of a project. This change shows how to do that for `trunk`. I haven't figured out how to do it with `cargo test`, however. If you happen to know, feel free to edit.
2025-04-10 23:13:51 +00:00
a8e13b8110 Turn non-automated tests into Cargo examples (#24)
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:

- It introduces a dyna3 library target, which the examples use as a dependency. In the future, this target could grow into an officially maintained dyna3 library.
- It puts the code for realizing the Irisawa hexlet into a new conditionally compiled `engine::irisawa` module. This code is shared by a test and an example. Compilation is controlled by the `dev` 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.

Co-authored-by: Aaron Fenyes <aaron.fenyes@fareycircles.ooo>
Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Reviewed-on: glen/dyna3#24
Co-authored-by: Vectornaut <vectornaut@nobody@nowhere.net>
Co-committed-by: Vectornaut <vectornaut@nobody@nowhere.net>
2024-11-26 00:32:50 +00:00
daed435826 doc: Add a few implementation goals to README 2023-11-01 13:08:20 -07:00
5fef463aba 0.1.0 2019-12-11 12:43:50 -05:00
c83019656e Establish package structure and initial technology plan 2019-11-23 15:54:44 -05:00
3192855776 Add a brief initial description 2019-09-14 16:08:37 -04:00
ec10233738 Initial commit 2019-09-14 19:00:59 +00:00