Write a tetrahedron radius ratio test and example #73

Open
opened 2025-03-12 18:49:56 +00:00 by Vectornaut · 0 comments
Collaborator

Motivation

The tetrahedron radius ratio example from the engine prototype finds the circumscribed and inscribed spheres of a regular tetrahedron and calculates the ratio between their radii. Using a hand calculation of the same ratio, we can turn this example into an end-to-end test of the engine.

Goals

  • Port the realization code from the tetrahedron radius ratio example to Rust, placing it in the engine::examples submodule alongside the Irisawa hexlet and kaleidocycle realization code.
  • Write a Cargo test based on the shared realization code.
  • Write an automated test based on the shared realization code.
### Motivation The [tetrahedron radius ratio](src/branch/main/engine-proto/gram-test/tetrahedron-radius-ratio.jl) example from the engine prototype finds the circumscribed and inscribed spheres of a regular tetrahedron and calculates the ratio between their radii. Using a hand calculation of the same ratio, we can turn this example into an end-to-end test of the engine. ### Goals - [ ] Port the realization code from the tetrahedron radius ratio example to Rust, placing it in the `engine::examples` submodule alongside the Irisawa hexlet and kaleidocycle realization code. - [ ] Write a Cargo test based on the shared realization code. - [ ] Write an automated test based on the shared realization code.
Vectornaut added a new dependency 2025-03-12 18:58:15 +00:00
Sign in to join this conversation.
No description provided.