You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When @daankolthof added more tests to MAS, it occurred to me that different but equally correct implementations of the algorithm might return different orderings when tie-breaking edges with equal weights. I haven't confirmed that this is a real problem, it's just a suspicion.
Assuming I'm right, the principle here is that unit tests should be written to test the implementation against the specification, not against itself.
The text was updated successfully, but these errors were encountered:
When @daankolthof added more tests to MAS, it occurred to me that different but equally correct implementations of the algorithm might return different orderings when tie-breaking edges with equal weights. I haven't confirmed that this is a real problem, it's just a suspicion.
Assuming I'm right, the principle here is that unit tests should be written to test the implementation against the specification, not against itself.
The text was updated successfully, but these errors were encountered: