Many fixes for MString, ZString.
This commit is contained in:
1 parent
d0d5172afa
commit
2a349c6ceb
9 files changed
+65
-34
No files matched your search
Binary file not shown.
@@ -17,8 +17,9 @@ int main(int argc, char **argv) {
|
||||
test3 = 'a';
|
||||
std::cout << "char operator=: [" << test3 << "]." << std::endl;
|
||||
|
||||
coreutils::ZString test7("zstring data");
|
||||
coreutils::MString test4;
|
||||
test4 << "this is a test.";
|
||||
test4 << "this is a test." << test7;
|
||||
std::cout << "char* operator<<: [" << test4 << "]." << std::endl;
|
||||
test4 << "another test " << 75;
|
||||
std::cout << "char* operator<<: [" << test4 << "]." << std::endl;
|
||||
|
||||
Binary file not shown.
@@ -6,7 +6,12 @@ int main(int argc, char **argv) {
|
||||
// Test comparison operations.
|
||||
|
||||
coreutils::ZString test1("");
|
||||
std::cout << (test1 != ".");
|
||||
std::cout << (test1 != ".") << std::endl;
|
||||
|
||||
// Test constructors.
|
||||
|
||||
coreutils::ZString test3("1659979856.747021214|barant@barant");
|
||||
std::cout << test3 << std::endl;
|
||||
|
||||
// Test split operations.
|
||||
|
||||
|
||||
Reference in new issue
Block a user