Add test for unbounded lower bound in DoubleRange.contains()#5988
Add test for unbounded lower bound in DoubleRange.contains()#5988RujataGaikwad wants to merge 3 commits intoopenmrs:masterfrom
Conversation
|
Can you please mention the ticket in the PR? It helps keep things clear and easier to track. |
Thank you for the feedback. I will create a JIRA ticket and update the PR title and description to include the ticket reference and clarify the purpose of the test. Please let me know if any further changes are required. |
Thank you for the suggestion. I attempted to create a JIRA ticket, but the issue creation page keeps loading and does not allow me to proceed. Please let me know how I should proceed. |
fierce-adventurer
left a comment
There was a problem hiding this comment.
Also raise a ticket before create a PR for an issue on jira and in pr describe what your Junit test is for the PR title should contain ticket number
TUNK-{ticketNumber} : Issue
I was unable to create a Jira ticket due to access/technical issues. I have updated the PR title and added a description explaining the purpose of the test. Could you please guide me on how I can get access to create Jira tickets or what I should do in this case? |
|
RujataGaikwad
left a comment
There was a problem hiding this comment.
Nice work on adding the test for DoubleRange.contains() with the upper bound case.
The test looks clear and follows proper structure. 👍
Approving the changes



This PR adds a unit test to verify the behavior of DoubleRange.contains() when the lower bound is unbounded (null) and the upper bound is unbounded (null).
What this test covers
Why this is important
Handling unbounded ranges correctly is critical for ensuring that the DoubleRange utility behaves reliably in all scenarios.
Notes
Checklist
✔ Code follows project style
✔ Added relevant test case
✔ All tests pass (
mvn clean package)✔ Based on latest master branch