Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

expand tests to cover all the typed rule cases now that its fully generic #22

Open
heckj opened this issue Jan 2, 2022 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@heckj
Copy link
Owner

heckj commented Jan 2, 2022

Rules were previously existential, and writing closures that used the modules required casting. With update #21, that's notable changed - all the modules are shifted into fully typed expressions, and the rules are all generic across a couple different Axis, resulting in a combinatorial explosion of types:

Context matching:

  • direct
  • left, direct
  • direct, right
  • left, direct, right

matrixed against:

  • basicLSystem (no parameters, no RNG)
  • RNGLSystem (no parameters, RNG)
  • DefinesLSystem (parameters, no RNG)
  • DefinesRNGLSystem (parameters and RNG)

Some of the code is verified, but it should all be basically "worked" to verify that I didn't miss anything while making "the maze of twisty passages, all alike" in order to have typed closures for writing LSystems.

(Coverage of Lindenmayer in general dropped to 36%)

@heckj heckj added the enhancement New feature or request label Jan 2, 2022
@heckj heckj self-assigned this Jan 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant