[sword-cvs] sword/tests swbuftest.cpp,1.1,1.2
sword@www.crosswire.org
sword@www.crosswire.org
Thu, 20 Feb 2003 00:25:22 -0700
Update of /usr/local/cvsroot/sword/tests
In directory www:/tmp/cvs-serv18313/tests
Modified Files:
swbuftest.cpp
Log Message:
Started HUGE task of moving all char **buf over to SWBuf &buf
NEED YOUR HELP
Index: swbuftest.cpp
===================================================================
RCS file: /usr/local/cvsroot/sword/tests/swbuftest.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** swbuftest.cpp 20 Feb 2003 03:12:37 -0000 1.1
--- swbuftest.cpp 20 Feb 2003 07:25:20 -0000 1.2
***************
*** 20,23 ****
--- 20,27 ----
SWBuf y = x + " " + x;
cout << "should be (hello wurld hello world): (" << y << ")\n";
+ y.appendFormatted(" from %d %s running %02.05f miles", 4, "dogs", 1.9f);
+ cout << "should be (hello wurld hello world from 4 dogs running 1.90000 miles): (" << y << ")\n";
+ y += '!';
+ cout << "should be (hello wurld hello world from 4 dogs running 1.90000 miles!): (" << y << ")\n";
}