Skip to content

Add chess test#820

Open
jonasseglare wants to merge 2 commits into
mainfrom
chess-test
Open

Add chess test#820
jonasseglare wants to merge 2 commits into
mainfrom
chess-test

Conversation

@jonasseglare

Copy link
Copy Markdown
Collaborator

SUMMARY

This PR does not change the implementation of Datahike, it only adds another unit test to help catch bugs.

This adds a test where a chess board is updated in iterations. The chess board has a datom representation and for every iteration, a database is updated with datoms being removed and added to reflect the state of the chess board. At every iteration, the datom content of the database is compared against the datoms representing the current chess board, along with checks that the history for the last few transactions is correct.

Jonas Östlund added 2 commits May 5, 2026 17:17
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.

1 participant