Skip to content

Commit

Permalink
Merge pull request #208 from AsherGlick/achievement_id_tests
Browse files Browse the repository at this point in the history
Adding achievement_id tests
  • Loading branch information
AsherGlick authored Nov 13, 2023
2 parents ae45ccd + 963479c commit 237117f
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

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

<POIs>
<POI AchievementId="0" Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/>
<POI AchievementId="1" Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/>
<POI AchievementId="5" Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/>
<POI AchievementId="2147483647" Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/>
<POI AchievementId="-2147483648" Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/>
<POI AchievementId="-5" Type="mycategory" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/>
<Trail AchievementId="5" Type="mycategory"/>
</POIs>
</OverlayData>
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<OverlayData>
<MarkerCategory DisplayName="My Category" Name="mycategory">
</MarkerCategory>

<POIs>
<POI AchievementId="0" Type="mycategory" XPos="169.81" YPos="210.65" ZPos="215.83" MapID="50" />
<POI AchievementId="1" Type="mycategory" XPos="169.81" YPos="210.65" ZPos="215.83" MapID="50" />
<POI AchievementId="5" Type="mycategory" XPos="169.81" YPos="210.65" ZPos="215.83" MapID="50" />
<POI AchievementId="2147483647" Type="mycategory" XPos="169.81" YPos="210.65" ZPos="215.83" MapID="50" />
<POI AchievementId="-2147483648" Type="mycategory" XPos="169.81" YPos="210.65" ZPos="215.83" MapID="50" />
<POI AchievementId="-5" Type="mycategory" XPos="169.81" YPos="210.65" ZPos="215.83" MapID="50" />
<Trail AchievementId="5" Type="mycategory" />
</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 @@ -72,4 +72,10 @@ class Testcase:
expected_output_xml_path="./expected_outputs/xml_achievement_bitmask_valid",
expected_output_proto_path="./expected_outputs/proto_achievement_bitmask_valid",
),
Testcase(
name="achievement_id",
xml_input_paths=["./inputs/xml_achievement_id"],
expected_output_xml_path="./expected_outputs/xml_achievement_id",
expected_output_proto_path="./expected_outputs/proto_achievement_id",
),
]

0 comments on commit 237117f

Please sign in to comment.