rewrite: TS monorepo — pi SDK stateless agents, Postgres+pg-boss, SvelteKit themed UI; legacy moved to legacy/

This commit is contained in:
ai-chess
2026-10-18 15:32:39 +03:00
parent e23a07f07b
commit 5be4bd1da4
321 changed files with 37840 additions and 158 deletions
+16
View File
@@ -0,0 +1,16 @@
from ai_chess.sides import Side
def test_opposite():
assert Side.WHITE.opposite() is Side.BLACK
assert Side.BLACK.opposite() is Side.WHITE
def test_from_str():
assert Side.from_str("white") is Side.WHITE
assert Side.from_str("black") is Side.BLACK
def test_str_value():
assert Side.WHITE.value == "white"
assert Side.BLACK.value == "black"