ctil::ends_with() is a helper method that checks if a string, value, ends with a suffix, ending.
This method is used to check if file paths passed to ctil contains specific file extensions.
A unit test has to be added to test.cpp that tests ctil::ends_with().
ctil::ends_with()
is a helper method that checks if a string,value
, ends with a suffix,ending
. This method is used to check if file paths passed toctil
contains specific file extensions. A unit test has to be added totest.cpp
that testsctil::ends_with()
.To do this:
ctil.sln
in Visual Studio (2019 or 2022).test.cpp
.test.cpp
for examples.