forked from TimefoldAI/timefold-solver
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: do not create a new entity in EnvironmentMode test
When the test creates a new entity in its undo move and assigns it, it increases the init score from 0 to 1, an impossible state that should never occur in correctly implemented move(s). This could result in a fail-fast in the future that is not related to the EnvironmentMode being tested. Now the test use an existing but different entity to achieve the desired corruption.
- Loading branch information
1 parent
aaa0ebc
commit 02be447
Showing
3 changed files
with
12 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters