[sword-cvs] sword/tests swbuftest.cpp,1.2,1.3

sword@www.crosswire.org sword@www.crosswire.org
Thu, 20 Feb 2003 01:20:41 -0700


Update of /usr/local/cvsroot/sword/tests
In directory www:/tmp/cvs-serv19371/tests

Modified Files:
	swbuftest.cpp 
Log Message:


Index: swbuftest.cpp
===================================================================
RCS file: /usr/local/cvsroot/sword/tests/swbuftest.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** swbuftest.cpp	20 Feb 2003 07:25:20 -0000	1.2
--- swbuftest.cpp	20 Feb 2003 08:20:39 -0000	1.3
***************
*** 19,27 ****
  	cout << "x should be (hello wurld): (" << x << ")\n";
  	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";
  }
  
--- 19,27 ----
  	cout << "x should be (hello wurld): (" << x << ")\n";
  	SWBuf y = x + " " + x;
! 	cout << "should be (hello wurld hello wurld): (" << y << ")\n";
  	y.appendFormatted(" from %d %s running %02.05f miles", 4, "dogs", 1.9f);
! 	cout << "should be (hello wurld hello wurld from 4 dogs running 1.90000 miles): (" << y << ")\n";
  	y += '!';
! 	cout << "should be (hello wurld hello wurld from 4 dogs running 1.90000 miles!): (" << y << ")\n";
  }