Add more test cases
This commit is contained in:
33
test_data.xml
Normal file
33
test_data.xml
Normal file
@@ -0,0 +1,33 @@
|
||||
<tests>
|
||||
<!-- Test simple value replacement -->
|
||||
<test id="simple">
|
||||
<value>100</value>
|
||||
</test>
|
||||
|
||||
<!-- Test with multiple capture groups -->
|
||||
<test id="multi">
|
||||
<value>50</value>
|
||||
<multiplier>3</multiplier>
|
||||
<divider>2</divider>
|
||||
</test>
|
||||
|
||||
<!-- Test with inline format -->
|
||||
<test id="inline"><value>200</value>,<multiplier>2</multiplier>,<divider>4</divider></test>
|
||||
|
||||
<!-- Test with nested elements -->
|
||||
<test id="nested">
|
||||
<data>
|
||||
<value>75</value>
|
||||
<settings>
|
||||
<multiplier>4</multiplier>
|
||||
<divider>3</divider>
|
||||
</settings>
|
||||
</data>
|
||||
</test>
|
||||
|
||||
<!-- Test with decimal values -->
|
||||
<test id="decimal">
|
||||
<value>10.5</value>
|
||||
<multiplier>2.5</multiplier>
|
||||
</test>
|
||||
</tests>
|
||||
Reference in New Issue
Block a user