-
Notifications
You must be signed in to change notification settings - Fork 207
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
Create tests for Accounts/AccountsTree class #32
Comments
schrnz
added a commit
that referenced
this issue
May 29, 2017
schrnz
added a commit
that referenced
this issue
Jun 12, 2017
schrnz
added a commit
that referenced
this issue
Jun 12, 2017
Minor note: There is a test for self-transmissions that currently fails. This test is deactivated (`xit`) b/c this is already enforced in the blockchain (but not in Accounts). If we want to test this/move the check to Accounts, this test can be used.
schrnz
added a commit
that referenced
this issue
Jun 13, 2017
schrnz
added a commit
that referenced
this issue
Jun 13, 2017
All tests are executed for each provided type of accounts tree. TODO: As soon as issue #161 is fixed, 'persistent' (and potantially also 'temporary persistent') can be added to the list so that the tests are invoked automatically in those cases, too.
schrnz
added a commit
that referenced
this issue
Jun 19, 2017
schrnz
added a commit
that referenced
this issue
Jun 27, 2017
…ore (ref #32) * Also added equals method to AccountTreeNode that compares its values since jasmine's toEqual fails if the hash is cached for one node but not for the other.
paberr
pushed a commit
that referenced
this issue
Jul 14, 2017
All tests are executed for each provided type of accounts tree. TODO: As soon as issue #161 is fixed, 'persistent' (and potantially also 'temporary persistent') can be added to the list so that the tests are invoked automatically in those cases, too.
paberr
pushed a commit
that referenced
this issue
Jul 14, 2017
paberr
pushed a commit
that referenced
this issue
Jul 14, 2017
…ore (ref #32) * Also added equals method to AccountTreeNode that compares its values since jasmine's toEqual fails if the hash is cached for one node but not for the other.
paberr
pushed a commit
that referenced
this issue
Jul 14, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are already a couple of Accounts/AccountsTree tests to start with:
https://github.com/nimiq-network/core/tree/master/src/test/specs/generic/consensus/accounts
Accounts: e.g.
AccountsTree: e.g.
The text was updated successfully, but these errors were encountered: