Add $floor arithmetic expression tests#664
Conversation
This change adds tests for the $floor arithmetic expression. It was originally authored by @vic-tsang. Closes documentdb#276 Co-authored-by: Victor Tsang <vitsangp@amazon.com> Signed-off-by: Daniel Frankcom <frankcom@amazon.com>
|
🤖 Auto-triaged by documentdb-triage-tool. Applied: Reasoningcomponent from path globs (test-coverage); effort from diff stats (646+0 LOC, 6 files); LLM failed: Invalid response body while trying to fetch https://api.anthropic.com/v1/messages: Premature close If a label is wrong, remove it manually and ping |
PatersonProjects
left a comment
There was a problem hiding this comment.
Missing __init__.py
May want to consider adding dedicated bare argument test: {"$floor": "$value"}, though the case is covered by smoke.
May want to add a nested field path test case.
Signed-off-by: Daniel Frankcom <frankcom@amazon.com>
Signed-off-by: Daniel Frankcom <frankcom@amazon.com>
Not strictly needed here, won't add it for consistency with the other expression dirs |
This change adds tests for the $floor arithmetic expression. It was originally authored by @vic-tsang.
Closes #276