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

builder: implement orientation according to coordinates #66

Merged
merged 3 commits into from
Sep 29, 2024

Conversation

Tristramg
Copy link
Contributor

This should be a pretty common problem for any user of the library, so it makes sens to have this in the library

This allowed to find an bug, hence the first tests in the builder (ref. #57)

Copy link
Contributor

@Castavo Castavo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks neat
I have to proof-read the tests and run them

How about also a

pub fn orient_along_other_traversals(
    &mut self,
    traversal_index: usize,
    other_traversal_indexes: &[usize]
)

Copy link
Contributor

@Castavo Castavo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tests run
I have a few comment but it's nitpicking

src/builder.rs Show resolved Hide resolved
src/builder.rs Outdated Show resolved Hide resolved
src/builder.rs Show resolved Hide resolved
builder: more coherent test

Co-authored-by: Baptiste Prévot <[email protected]>
@Tristramg Tristramg merged commit b25b812 into main Sep 29, 2024
8 checks passed
@Tristramg Tristramg deleted the changes_for_dags branch December 1, 2024 13:25
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.

2 participants