Skip to content

added query tests for $in and $nin#100

Merged
eerxuan merged 1 commit intodocumentdb:mainfrom
vic-tsang:query/in/nin/tests
Apr 17, 2026
Merged

added query tests for $in and $nin#100
eerxuan merged 1 commit intodocumentdb:mainfrom
vic-tsang:query/in/nin/tests

Conversation

@vic-tsang
Copy link
Copy Markdown
Collaborator

This PR contains

  • query tests for $in and $nin
  • assertSuccessNan
    • replaces nan value with NaN so that == evaluates properly

Ref #31

Depends on

@vic-tsang vic-tsang requested a review from a team as a code owner April 14, 2026 22:42
@vic-tsang vic-tsang force-pushed the query/in/nin/tests branch from 65cbc36 to 43a2d58 Compare April 16, 2026 23:37
Signed-off-by: Victor Tsang <vitsangp@amazon.com>
@eerxuan eerxuan force-pushed the query/in/nin/tests branch from 43a2d58 to c4e6594 Compare April 17, 2026 17:59
@eerxuan eerxuan merged commit 9105d5c into documentdb:main Apr 17, 2026
5 checks passed
return val


def assertSuccessNaN(
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The NaN handling should be under _strict_equal, I think every test should handle them the same.

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.

3 participants