Added startsWithDouble() method on ZString.

This commit is contained in:
Brad Arant committed 2024-08-01 15:03:28 -07:00
1 parent 0db4be8a99
commit 39fd88cad9
3 files changed
+29 -1

No files matched your search

+5
View File
@@ -81,5 +81,10 @@ int main(int argc, char **argv) {
coreutils::ZString test12("1");
coreutils::ZString test13("12");
std::cout << (test12 < test13) << ":" << (test13 < test12) << std::endl;
coreutils::ZString test14("25.5");
coreutils::ZString test15("xyx");
std::cout << test14.startsWithDouble() << ":" << test15.startsWithDouble() << std::endl;
}