-
Notifications
You must be signed in to change notification settings - Fork 7
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 tests for Gabow
, WordGraph
and Paths
#147
Add tests for Gabow
, WordGraph
and Paths
#147
Conversation
c41d583
to
7667ee2
Compare
I've updated the tests, deleting some stuff that isn't used. There are a couple of things I've noticed that I'll ask about when convenient, e.g. about how to 'unset' the 'source' node in the |
7667ee2
to
16a5434
Compare
16a5434
to
8e89960
Compare
@@ -32,7 +32,6 @@ def test_001(): | |||
w.set_target(i, i % 2, i + 1) | |||
|
|||
p = Paths(w) | |||
assert p.at_end() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to say that I think this is a bug in libsemigroups, that the return value of at_end()
is non-deterministic if the Paths object isn't properly initialised (it somehow isn't tracked in the class whether or not it is initialised, but it is implicitly assumed that it is).
Am I ok to merge this @MTWhyte ? |
Yeah go ahead!
On 17 Apr 2024, at 16:28, James Mitchell ***@***.***> wrote:
Am I ok to merge this @MTWhyte<https://github.com/MTWhyte> ?
—
Reply to this email directly, view it on GitHub<#147 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AKEUEZOF7EIA7UWUIBRJPSDY52ILDAVCNFSM6AAAAABGAWC4SKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRRGU2TEOJUG4>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
This PR adds some tests for the mentioned stuff, which seemed to get lost in some earlier merging.