X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=ETL%2Ftrunk%2Ftest%2Fpen.cpp;h=f29319f94554ace17716e71b315e6652bc296f44;hb=ef6f90fbcc9ee541b6e5822a18754ed2749e9191;hp=8b1a5553bba3611708beb71bba67d998816c15f8;hpb=cee5940bae97612105db8b7e1ffcf513f9d9150c;p=synfig.git diff --git a/ETL/trunk/test/pen.cpp b/ETL/trunk/test/pen.cpp index 8b1a555..f29319f 100644 --- a/ETL/trunk/test/pen.cpp +++ b/ETL/trunk/test/pen.cpp @@ -1,7 +1,7 @@ /*! ======================================================================== ** Extended Template and Library Test Suite ** Handle Template Class Test -** $Id: pen.cpp,v 1.1.1.1 2005/01/04 01:31:48 darco Exp $ +** $Id$ ** ** Copyright (c) 2002 Robert B. Quattlebaum Jr. ** @@ -38,8 +38,6 @@ using namespace std; using namespace etl; -#define DEBUGPOINT() fprintf(stderr,__FILE__":%d: Debugpoint\n",__LINE__) - /* === C L A S S E S ======================================================= */ int generic_pen_test(int w, int h) @@ -88,31 +86,31 @@ int generic_pen_test(int w, int h) if(diff.x!=w || diff.y!=h) { - printf("FAILURE! "__FILE__"@%d: pen difference inconsistancy ([%d,%d]!=[%d,%d])\n",__LINE__,diff.x,diff.y,w,h); + printf("FAILURE! "__FILE__"@%d: pen difference inconsistency ([%d,%d]!=[%d,%d])\n",__LINE__,diff.x,diff.y,w,h); return 1; } if(pen.end_x()-pen.x()!=w-1) { - printf("FAILURE! "__FILE__"@%d: iterator_x inconsistancy (%d!=%d)\n",__LINE__,pen.end_x()-pen.x(),w); + printf("FAILURE! "__FILE__"@%d: iterator_x inconsistency (%d!=%d)\n",__LINE__,pen.end_x()-pen.x(),w); return 1; } if(pen.end_y()-pen.y()!=h-1) { - printf("FAILURE! "__FILE__"@%d: iterator_y inconsistancy (%d!=%d)\n",__LINE__,pen.end_y()-pen.y(),h); + printf("FAILURE! "__FILE__"@%d: iterator_y inconsistency (%d!=%d)\n",__LINE__,pen.end_y()-pen.y(),h); return 1; } if(&pen.end_y()[-1]!=&pen.y()[(h-2)]) { - printf("FAILURE! "__FILE__"@%d: iterator_y inconsistancy\n",__LINE__); + printf("FAILURE! "__FILE__"@%d: iterator_y inconsistency\n",__LINE__); return 1; } if(&pen.end_x()[-1]!=&pen.x()[(w-2)]) { - printf("FAILURE! "__FILE__"@%d: iterator_x inconsistancy\n",__LINE__); + printf("FAILURE! "__FILE__"@%d: iterator_x inconsistency\n",__LINE__); return 1; }