Spaces:
Sleeping
Sleeping
| from proteus.game.engine.difficulty import Difficulty | |
| def test_difficulty_values(): | |
| assert Difficulty.EASY.value == "easy" | |
| assert {d.value for d in Difficulty} == {"easy", "medium", "hard", "expert"} | |
| assert Difficulty("hard") is Difficulty.HARD | |