Skip to content

Commit

Permalink
Adding tests for the festival filter
Browse files Browse the repository at this point in the history
  • Loading branch information
AsherGlick committed Nov 9, 2023
1 parent e346ab5 commit 4de76e5
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

E
My Category 2B\�)Cf�RC{�WC� 2B\�)Cf�RC{�WC� 
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<OverlayData>
<MarkerCategory DisplayName="My Category" Name="mycategory">
</MarkerCategory>

<POIs>
<POI Type="mycategory" Festival="dragonbash" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/>
<POI Type="mycategory" Festival="festivalofthefourwinds,halloween,lunarnewyear" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/>
</POIs>
</OverlayData>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<OverlayData>
<MarkerCategory DisplayName="My Category" Name="mycategory">
</MarkerCategory>

<POIs>
<POI Festival="DragonBash" Type="mycategory" XPos="169.81" YPos="210.65" ZPos="215.83" MapID="50" />
<POI Festival="FestivalOfTheFourWinds,Halloween,LunarNewYear" Type="mycategory" XPos="169.81" YPos="210.65" ZPos="215.83" MapID="50" />
</POIs>
</OverlayData>
6 changes: 6 additions & 0 deletions xml_converter/intigration_tests/testcases.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,10 @@ class Testcase:
expected_output_xml_path="./expected_outputs/xml_is_wall",
expected_output_proto_path="./expected_outputs/proto_is_wall",
),
Testcase(
name="festival_filter",
xml_input_paths=["./inputs/xml_festival_filter"],
expected_output_xml_path="./expected_outputs/xml_festival_filter",
expected_output_proto_path="./expected_outputs/proto_festival_filter",
),
]

0 comments on commit 4de76e5

Please sign in to comment.