-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unit test algo cpp 11 #4210
base: develop
Are you sure you want to change the base?
Unit test algo cpp 11 #4210
Conversation
… that were missing: 1. iota 2. copy 3. copy if 4. copy n
make amalgamat
1. fill 2. fill_n 3. move 4. move_backward
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I only see fill and fill_n. Where are move and move_backward tested?
SECTION("fill char value") | ||
{ | ||
json dest_arr = {1, 1, 1, 1, 1, 1, 1, 1, 1}; | ||
const char val = '1'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be a different value than used to initialize the container initially?
Please update to the latest |
[Describe your pull request here. Please read the text below the line, and make sure you follow the checklist.]
Added the following tests:
Pull request checklist
Read the Contribution Guidelines for detailed information.
include/nlohmann
directory, runmake amalgamate
to create the single-header filessingle_include/nlohmann/json.hpp
andsingle_include/nlohmann/json_fwd.hpp
. The whole process is described here.Please don't
#ifdef
s or other means.