Skip to content

Enable pgn-at-pos test for point-min, with new value#209

Open
rolandwalker wants to merge 3 commits intomasterfrom
RW/enable-pos-min-test
Open

Enable pgn-at-pos test for point-min, with new value#209
rolandwalker wants to merge 3 commits intomasterfrom
RW/enable-pos-min-test

Conversation

@rolandwalker
Copy link
Copy Markdown
Collaborator

This always was a corner case per the docstring. What is the meaningful PGN at point-min? The new code says it is the full set of header tagpairs; the old code said the first tagpair. Both seem acceptable. Neither include any moves.

xref #208

cc @dekrueger

This always was a corner case per the docstring.  What is the meaningful
PGN at point-min?  The new code says it is the full set of header
tagpairs; the old code said the first tagpair.  Both seem acceptable.
Neither include any moves.
@rolandwalker rolandwalker requested a review from dwcoates June 6, 2023 01:11
@rolandwalker rolandwalker self-assigned this Jun 6, 2023
@dekrueger
Copy link
Copy Markdown

The new code definitely treats the header as an atomic entity.

The main reason was to reduce code. But I also felt odd when using only the tag pairs up to point in headers with a FEN. The board would suddenly jump to the initial position when the point reached that tag pair.

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.

2 participants