updated zstring_test to accomodate asInteger.

This commit is contained in:
brad Arant 2024-11-27 15:18:32 -08:00
parent 6ab31da76f
commit 6cd2fd6cc1

View File

@ -116,4 +116,11 @@ int main(int argc, char **argv) {
std::cout << "quoted string: " << test22 << std::endl;
std::cout << "quoted string: " << test22.getTokenExclude("\"") << std::endl;
coreutils::ZString test23("2");
std::cout << "integer '2' is [" << test23 << "]" << std::endl;
coreutils::ZString test24("53524534");
std::cout << "integer '53524534' is [" << test24 << "]" << std::endl;
coreutils::ZString test25("-543");
std::cout << "integer '-543' is [" << test25 << "]" << std::endl;
}