Added testing function for ZString.

This commit is contained in:
Brad Arant committed 2021-09-22 18:01:54 -07:00
1 parent 191899fbb7
commit a0129273b3
8 files changed
+99 -70

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
#include <iostream>
#include "../ZString.h"
int main(int argc, char **argv) {
coreutils::ZString test("character1111:22222:33333");
test.length = 9;
test.split(":");
std::cout << test << std::endl;
std::cout << test.getLength() << std::endl;
std::cout << test[0] << std::endl;
std::cout << test[1] << std::endl;
}