diff options
| author | Greg Ercolano <erco@seriss.com> | 2013-03-27 19:21:22 +0000 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2013-03-27 19:21:22 +0000 |
| commit | 85c14647159a730c2c719dae3ec76fc5ca337ecd (patch) | |
| tree | a576eb35ee2b24ab675c6333dfe96a8c46348480 /test | |
| parent | fa75731c94df78ad31fa502a9fed17f78a3a1411 (diff) | |
Added some extra @@ tests for boundary conditions.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9852 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test')
| -rw-r--r-- | test/unittest_symbol.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/unittest_symbol.cxx b/test/unittest_symbol.cxx index 76f1ede52..ddd2d28b4 100644 --- a/test/unittest_symbol.cxx +++ b/test/unittest_symbol.cxx @@ -71,11 +71,14 @@ public: 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); |
