Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write a functional test to check the /legal command #191

Closed
Tracked by #193
programarivm opened this issue Sep 20, 2023 · 1 comment
Closed
Tracked by #193

Write a functional test to check the /legal command #191

programarivm opened this issue Sep 20, 2023 · 1 comment

Comments

@programarivm
Copy link
Member

Write a functional test called legal_b1() to check out that the following sequence of commands returns the expected response.

Commands:

/start classical fen
/legal b1

Response:

{"\/legal":{"color":"w","id":"N","fen":{"a3":"rnbqkbnr\/pppppppp\/8\/8\/8\/N7\/PPPPPPPP\/R1BQKBNR b KQkq -","c3":"rnbqkbnr\/pppppppp\/8\/8\/8\/2N5\/PPPPPPPP\/R1BQKBNR b KQkq -"}}}

See:

Keep it up,

@CodeMaster7000
Copy link
Member

Hi there, happy learning and coding!

@chesslablab chesslablab deleted a comment from CodeMaster7000 Oct 9, 2023
@programarivm programarivm closed this as not planned Won't fix, can't repro, duplicate, stale Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants