@@ -130,6 +130,27 @@ public virtual void MoreThanOneHParam() {
130130 ConvertAndCompareVisually ( sourceFolder , destinationFolder , "moreThanOneHParam" ) ;
131131 }
132132
133+ /// <exception cref="System.IO.IOException"/>
134+ /// <exception cref="System.Exception"/>
135+ [ NUnit . Framework . Test ]
136+ public virtual void NegativeAfterPositiveHandlingTest01 ( ) {
137+ ConvertAndCompareVisually ( sourceFolder , destinationFolder , "negativeAfterPositiveHandling" ) ;
138+ }
139+
140+ /// <exception cref="System.IO.IOException"/>
141+ /// <exception cref="System.Exception"/>
142+ [ NUnit . Framework . Test ]
143+ public virtual void NegativeAfterPositiveHandlingTest02 ( ) {
144+ ConvertAndCompareVisually ( sourceFolder , destinationFolder , "negativeAfterPositiveHandlingExtendedViewbox" ) ;
145+ }
146+
147+ /// <exception cref="System.IO.IOException"/>
148+ /// <exception cref="System.Exception"/>
149+ [ NUnit . Framework . Test ]
150+ public virtual void InsignificantSpacesTest ( ) {
151+ ConvertAndCompareVisually ( sourceFolder , destinationFolder , "insignificantSpaces" ) ;
152+ }
153+
133154 [ NUnit . Framework . Test ]
134155 public virtual void DecimalPointParsingTest ( ) {
135156 PathSvgNodeRenderer path = new PathSvgNodeRenderer ( ) ;
@@ -161,7 +182,16 @@ public virtual void DecimalPointParsingTabTest() {
161182 public virtual void DecimalPointParsingMinusTest ( ) {
162183 PathSvgNodeRenderer path = new PathSvgNodeRenderer ( ) ;
163184 String input = "2.35.96 3.25-.25" ;
164- String expected = "2.35 .96 3.25-.25" ;
185+ String expected = "2.35 .96 3.25 -.25" ;
186+ String actual = path . SeparateDecimalPoints ( input ) ;
187+ NUnit . Framework . Assert . AreEqual ( expected , actual ) ;
188+ }
189+
190+ [ NUnit . Framework . Test ]
191+ public virtual void NegativeAfterPositiveTest ( ) {
192+ PathSvgNodeRenderer path = new PathSvgNodeRenderer ( ) ;
193+ String input = "40-50" ;
194+ String expected = "40 -50" ;
165195 String actual = path . SeparateDecimalPoints ( input ) ;
166196 NUnit . Framework . Assert . AreEqual ( expected , actual ) ;
167197 }
0 commit comments