Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

Merged
merged 6 commits into from
Aug 17, 2017
Merged

Added tests #620

merged 6 commits into from
Aug 17, 2017

Conversation

Chipe1
Copy link
Contributor

@Chipe1 Chipe1 commented Aug 14, 2017

Added tests for a few functions
Updated README.md

@@ -330,6 +330,15 @@ def test_backtracking_search():
order_domain_values=lcv, inference=mac)


def test_min_conflicts():
random.seed = 'aima-python'
Copy link
Collaborator

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').



def test_simulated_annealing():
random.seed = 'aima-python'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here.

@norvig
Copy link
Collaborator

norvig commented Aug 16, 2017

can you get the tests to pass?

@Chipe1
Copy link
Contributor Author

Chipe1 commented Aug 16, 2017

Sorry about that. I ran py.test on individual files which caused the error to slip past me.

@norvig norvig merged commit 09beeb4 into aimacode:master Aug 17, 2017
@Chipe1 Chipe1 deleted the lottests branch August 17, 2017 05:43
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