Author: greg.ercolano
Date: 2013-03-27 12:21:22 -0700 (Wed, 27 Mar 2013)
New Revision: 9852
Log:
Added some extra @@ tests for boundary conditions.



Modified:
   branches/branch-1.3/test/unittest_symbol.cxx

Modified: branches/branch-1.3/test/unittest_symbol.cxx
===================================================================
--- branches/branch-1.3/test/unittest_symbol.cxx        2013-03-27 19:16:48 UTC 
(rev 9851)
+++ branches/branch-1.3/test/unittest_symbol.cxx        2013-03-27 19:21:22 UTC 
(rev 9852)
@@ -71,11 +71,14 @@
       DrawTextAndBoxes("@-> Rt/Lt @<-"   ,xx,yy); yy += fsize+10;      // 
check symbol at lt+rt edges
       DrawTextAndBoxes("@@ At/Lt @<-"    ,xx,yy); yy += fsize+10;      // 
check @@ at left, symbol at right
       DrawTextAndBoxes("@-> Lt/At @@"    ,xx,yy); yy += fsize+10;      // 
check symbol at left, @@ at right
+      DrawTextAndBoxes("@@ At/At @@"     ,xx,yy); yy += fsize+10;      // 
check @@ at left+right
       xx = x0+200;
       yy = y0+10;
-      DrawTextAndBoxes("Line1\nLine2",xx,yy); yy += (fsize+10)*2;              
// check 2 lines, no symbol
-      DrawTextAndBoxes("@-> Line1\nLine2 @<-",xx,yy); yy += (fsize+10)*2;      
// check 2 lines, lt+rt symbols
-      DrawTextAndBoxes("@-> Line1\nLine2\nLine3 @<-",xx,yy); yy += 
(fsize+10)*3;// check 3 lines, lt+rt symbols
+      DrawTextAndBoxes("Line1\nLine2"               ,xx,yy); yy += 
(fsize+10)*2; // check 2 lines, no symbol
+      DrawTextAndBoxes("@-> Line1\nLine2 @<-"       ,xx,yy); yy += 
(fsize+10)*2; // check 2 lines, lt+rt symbols
+      DrawTextAndBoxes("@-> Line1\nLine2\nLine3 @<-",xx,yy); yy += 
(fsize+10)*3; // check 3 lines, lt+rt symbols
+      DrawTextAndBoxes("@@@@"                       ,xx,yy); yy += (fsize+10); 
  // check abutting @@'s
+      DrawTextAndBoxes("@@ @@"                      ,xx,yy); yy += (fsize+10); 
  // check @@'s with space sep
 
       fl_font(FL_HELVETICA, 14);
       fl_color(FL_RED);

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to