Skip to content

Conversation

@ralphlange
Copy link
Member

Improve and fix the JSON tests.

- improve test messages
- show expected and actual values in all tests
- remove compiler warnings (buffer initialization)
- move braces in the right positions
@ralphlange ralphlange requested a review from simon-ess November 26, 2025 14:48
"%s - %s - elem %lu exp '%s' act '%s'", testPrefix, "New value check 1",
i, "Nan", json.newVal.at(i).c_str());
}
else if (isinf(*(value1 + i) && *(value1 + i) > 0)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Good catch!

@simon-ess simon-ess merged commit b39e911 into epics-modules:master Nov 26, 2025
6 checks passed
@ralphlange
Copy link
Member Author

Merci!

@ralphlange ralphlange deleted the improve-tests branch November 26, 2025 15:13
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