Closed cieslarmichal closed 10 months ago
assigned @braw-lee
Please look at String::alphanumeric()
.
It has a parameter : std::string& excludeCharacters, which is useless once we add string guarantee as users can just pass a char with atmost count as zero to the GuaranteeMap
to ensure char is excluded.
So should I remove it while adding string guarantee overload or keep it as it is? @cieslarmichal
I think we could have it too, because it would be more intuitive for some users, just overload it :)
@braw-lee I have just added a new task with guarantees (for password) :) https://github.com/cieslarmichal/faker-cxx/issues/352
Extend all functions from String module to support generation guarantees. Example1: generated string contains at least 1 ‘\’. Example2: generated string contains 1 ‘.’ and 1 ','. Example3: generated string contains at least 3 ‘9’.