Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@tom-auger
Copy link

The diff of LeveledLayout.cs looks horrific. I suggest just looking at the new version as I did something a bit different.

I noticed a couple of issues with some of the layout unit tests which I've fixed:

  1. ConvergenceDelayedLayout was checking the wrong entries in levels 1 and 2 (branch 2 should be in level 2).
  2. BackPropagationSkipLayout and BackPropagationSkipLayout2 were asserting there are 4 levels even though it later checked the content of 5 levels (5 is correct).

@crener
Copy link
Owner

crener commented Jun 13, 2020

I've fixed the the tests to check for both X and Y axis rather than just the X axis which should make it much more specific what the layout should be doing. My implementation entirely fails these (passes about 25%) so... thats great :(

Also made the tests test an interface so it should be easier to reuse the tests

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