Commit c9eab0f6 rédigé par lucasmoura's avatar lucasmoura Commit de Peter Norvig
Parcourir les fichiers

Add tests to CSP class (#299)

* Add tests to CSP class

Add test for the following methods on CSP class:

* assign
* unassigns
* nconflits
* actions

* Refactor some asserts in test_csp.py

Some asserts were being done in the following way:
assert (X is not None) == True

Now, they are handled in the following way:
assert X
parent ca893d7f
Prend en charge le Markdown
0% ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message !
Veuillez vous inscrire ou vous pour commenter