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

Add convenient APIs to build Vertex and Edge #403

Merged
merged 10 commits into from
Mar 24, 2022
Merged

Add convenient APIs to build Vertex and Edge #403

merged 10 commits into from
Mar 24, 2022

Conversation

hannobraun
Copy link
Owner

Adds new "builder" APIs for Vertex and Edge, and introduces them into unit tests. This significantly cleans up some of the test code, and this pull request is only the beginning. These APIs have much more potential to further clean up test code.

This has the side effect of replacing the convenience methods for constructing edges that Topology used to have, making the Shape API more regular, potentially allowing for further clean-ups there.

This is part of my work towards #105. I will need to update the approximation code (and the approximation test suite) to make more progress there, and these new builder APIs make it much easier to update the tests, and thus the code overall.

@hannobraun hannobraun marked this pull request as ready for review March 24, 2022 14:57
@hannobraun hannobraun enabled auto-merge March 24, 2022 14:57
@hannobraun hannobraun merged commit 7bc8c84 into main Mar 24, 2022
@hannobraun hannobraun deleted the builder branch March 24, 2022 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant