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

Skip to content

Conversation

Chipe1
Copy link
Contributor

@Chipe1 Chipe1 commented Aug 14, 2017

Added tests for a few functions
Updated README.md



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
dj5x5 pushed a commit to dj5x5/aima-python that referenced this pull request Jul 17, 2025
* Added tests for search.py

* Updated readme

* Removed extra newline

* Fixed seed

* Update README.md

* Added docstring for minimal-consistent-det
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