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

Don't drop parentless nodes #419

Merged
merged 3 commits into from
Nov 2, 2018
Merged

Conversation

kbrock
Copy link
Collaborator

@kbrock kbrock commented Nov 2, 2018

Extracted from #415

Fixes #411
Fixes #362

arrange_nodes no longer drops child nodes. thanks @trafium

@Fryguy Think this is the simplified version of 415 that you wanted

We also now have other tests showing what other work needs to be done

@kbrock kbrock force-pushed the consistent_sorting branch from 9f39f0a to 64ebdd7 Compare November 2, 2018 17:44
@coveralls
Copy link

coveralls commented Nov 2, 2018

Coverage Status

Coverage decreased (-0.06%) to 96.458% when pulling aea6b73 on kbrock:consistent_sorting into f56ad4a on stefankroes:master.

@Fryguy
Copy link
Contributor

Fryguy commented Nov 2, 2018

👍

@kbrock kbrock force-pushed the consistent_sorting branch from 64ebdd7 to 329429d Compare November 2, 2018 19:36
kbrock and others added 3 commits November 2, 2018 16:40
With missing nodes that are used to sort, there ends up being
some area of gray

introduced CORRECT / STRICT concepts to allow tests to pass while
the proper balance of priorities is introduced

tests
calculating the depths is not necessary.
Just checking parent nodes works well enough

OrderedHash are no longer necessary

NOTE: These tests were fixed by the trafium's commit
@kbrock kbrock force-pushed the consistent_sorting branch from 329429d to aea6b73 Compare November 2, 2018 20:49
@kbrock kbrock merged commit f4610ad into stefankroes:master Nov 2, 2018
@kbrock kbrock deleted the consistent_sorting branch November 2, 2018 20:55
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.

4 participants