diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-10-17 13:56:42 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-10-17 13:56:42 (GMT) |
commit | 12ef4edf64d2dd26cd03bd355b0f710b410f8d29 (patch) | |
tree | 97fa87a793899869df2c1915b6d2ea5c8f0e174c /Tests/StringFileTest/StringFile.cxx | |
parent | 6e5cdd6de72de0d9d8f91c9971f0c13e10511c73 (diff) | |
download | CMake-12ef4edf64d2dd26cd03bd355b0f710b410f8d29.zip CMake-12ef4edf64d2dd26cd03bd355b0f710b410f8d29.tar.gz CMake-12ef4edf64d2dd26cd03bd355b0f710b410f8d29.tar.bz2 |
ENH: Add String length and substring
Diffstat (limited to 'Tests/StringFileTest/StringFile.cxx')
-rw-r--r-- | Tests/StringFileTest/StringFile.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/StringFileTest/StringFile.cxx b/Tests/StringFileTest/StringFile.cxx index 67d7c5f..0601aa0 100644 --- a/Tests/StringFileTest/StringFile.cxx +++ b/Tests/StringFileTest/StringFile.cxx @@ -10,7 +10,9 @@ int main(int, char*[]) res += CheckMethod(rmallvar, "CMake;cmake;CMake"); res += CheckMethod(rrepvar, "People should use CMake and CMake"); res += CheckMethod(repvar, "People should use CMake"); + res += CheckMethod(substringres, "Everybody should use CMake"); res += CheckMethod(nceqvar, "0"); + res += CheckMethod(lengthres, "26"); res += CheckMethod(ceqvar, "1"); res += CheckMethod(cneqvar, "1"); res += CheckMethod(ncneqvar, "0"); |