From: Jeff R. <jef...@us...> - 2005-10-23 23:39:48
|
Update of /cvsroot/svgdomcsharp/SharpVectorGraphics/src/SharpVectorUnitTests/SharpVectors/Dom/Svg/Basic types In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18901/src/SharpVectorUnitTests/SharpVectors/Dom/Svg/Basic types Modified Files: SvgPointListTests.cs Log Message: Library wide fixes for Unit Test completion, only Mutation events left to implement for current test coverage Index: SvgPointListTests.cs =================================================================== RCS file: /cvsroot/svgdomcsharp/SharpVectorGraphics/src/SharpVectorUnitTests/SharpVectors/Dom/Svg/Basic types/SvgPointListTests.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- SvgPointListTests.cs 26 Apr 2003 19:50:04 -0000 1.2 +++ SvgPointListTests.cs 23 Oct 2005 23:39:29 -0000 1.3 @@ -106,6 +106,13 @@ Assertion.AssertEquals(4, p2.Y); Assertion.AssertEquals(5, p3.X); Assertion.AssertEquals(6, p3.Y); + bool except = false; + try + { + svgPointList.FromString("1,2, 3 , , 5,6"); } + catch (SvgException) + { except = true; } Assertion.Assert("Double comma should give an invalid value SVG exception", except); + } [Test] |