Added startsWithDouble() method on ZString.
This commit is contained in:
1 parent
0db4be8a99
commit
39fd88cad9
3 files changed
+29
-1
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user