Skip to content

Conversation

@rwest
Copy link
Member

@rwest rwest commented Apr 2, 2014

Some of the changes in #196
broke the isomorphism unit tests, as discussed in that pull request thread.
This pull request hopefully fixes it, and adds a few more tests to the unit tests,
making them even harder to pass.
@nyee, please see if what I did matches what you intended.

rwest added 3 commits April 1, 2014 23:30
Label checking is done as part of the isomorphism routines.
Enforcing the isSpecificTypeOf and Equivalent methods to 
check it just breaks the isomorphism routines, as demonstrated
by the two unit tests that started failing.

(Yay for unit tests!)
Equivalent check needs to ensure the matches work both ways.
isSpecificCaseOf only needs to check self is contained within other.
(and both need to not just check self against self)
…Of tests.

We check a variety of radicals, multiplicities, and charges.
This helped find a bug I almost introduced :-)
(and I think would have detected the ones I had just removed)
nyee added a commit that referenced this pull request Apr 2, 2014
Fix a few bugs in the database test work
@nyee nyee merged commit ef17fbd into ReactionMechanismGenerator:master Apr 2, 2014
@rwest rwest deleted the fixbugs branch April 2, 2014 22:04
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