@@ -130,6 +130,27 @@ public virtual void MoreThanOneHParam() {
130
130
ConvertAndCompareVisually ( sourceFolder , destinationFolder , "moreThanOneHParam" ) ;
131
131
}
132
132
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
+
133
154
[ NUnit . Framework . Test ]
134
155
public virtual void DecimalPointParsingTest ( ) {
135
156
PathSvgNodeRenderer path = new PathSvgNodeRenderer ( ) ;
@@ -161,7 +182,16 @@ public virtual void DecimalPointParsingTabTest() {
161
182
public virtual void DecimalPointParsingMinusTest ( ) {
162
183
PathSvgNodeRenderer path = new PathSvgNodeRenderer ( ) ;
163
184
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" ;
165
195
String actual = path . SeparateDecimalPoints ( input ) ;
166
196
NUnit . Framework . Assert . AreEqual ( expected , actual ) ;
167
197
}
0 commit comments