-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Added tests #620
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
Added tests #620
Conversation
tests/test_csp.py
Outdated
@@ -330,6 +330,15 @@ def test_backtracking_search(): | |||
order_domain_values=lcv, inference=mac) | |||
|
|||
|
|||
def test_min_conflicts(): | |||
random.seed = 'aima-python' |
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.
No -- this should be random.seed('aima-python').
tests/test_search.py
Outdated
|
||
|
||
def test_simulated_annealing(): | ||
random.seed = 'aima-python' |
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.
Same here.
can you get the tests to pass? |
Sorry about that. I ran py.test on individual files which caused the error to slip past me. |
* Added tests for search.py * Updated readme * Removed extra newline * Fixed seed * Update README.md * Added docstring for minimal-consistent-det
Added tests for a few functions
Updated README.md