// // test constructors. // // assumes lstring is implemented using a Seq as the first/only // member variable. // #include #include // has EXIT_SUCCESS #include "lstring.h" #include "testsub.h" // has functions for testing int main(void) { lstring empty; lstring x('x'); lstring wxyz("wxyz"); printWithMsg("constructed '' = ", empty); printWithMsg("constructed 'x' = ", x); printWithMsg("constructed 'wxyz' = ", wxyz); cout << "That's all, folks!\n"; return EXIT_SUCCESS; }