Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anim speed #228

Merged
merged 12 commits into from
Dec 5, 2023
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<OverlayData>
<MarkerCategory DisplayName="My Category" Name="mycategory">
</MarkerCategory>

<POIs>
<Trail AnimSpeed="0.000000" Type="mycategory"/>
<Trail AnimSpeed="3.140000" Type="mycategory"/>
<Trail AnimSpeed="123.456001" Type="mycategory"/>
<Trail AnimSpeed="0.000000" Type="mycategory"/>
<Trail AnimSpeed="3.140000" Type="mycategory"/>
<Trail AnimSpeed="123.456001" Type="mycategory"/>
<Trail AnimSpeed="-3.140000" Type="mycategory"/>
<Trail AnimSpeed="-123.456001" Type="mycategory"/>
<Trail AnimSpeed="-3.140000" Type="mycategory"/>
<Trail AnimSpeed="-123.456001" Type="mycategory"/>
</POIs>
</OverlayData>
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<OverlayData>
<MarkerCategory DisplayName="My Category" Name="mycategory">
</MarkerCategory>

<POIs>
<Trail AnimSpeed="0" Type="mycategory" />
<Trail AnimSpeed="3.14" Type="mycategory" />
<Trail AnimSpeed="123.456" Type="mycategory" />
<Trail AnimationSpeed="0" Type="mycategory" />
<Trail AnimationSpeed="3.14" Type="mycategory" />
<Trail AnimationSpeed="123.456" Type="mycategory" />
AsherGlick marked this conversation as resolved.
Show resolved Hide resolved
<Trail AnimSpeed="-3.14" Type="mycategory" />
<Trail AnimSpeed="-123.456" Type="mycategory" />
<Trail AnimationSpeed="-3.14" Type="mycategory" />
<Trail AnimationSpeed="-123.456" Type="mycategory" />
</POIs>
</OverlayData>
5 changes: 5 additions & 0 deletions xml_converter/intigration_tests/testcases.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,11 @@ class Testcase:
expected_output_xml_path="./expected_outputs/xml_profession_filter",
expected_output_proto_path="./expected_outputs/proto_profession_filter",
),
Testcase(
name="animation_speed",
xml_input_paths=["./inputs/xml_animation_speed"],
expected_output_xml_path="./expected_outputs/xml_animation_speed",
),
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where are the proto testcases?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As mentioned in the top comment, the proto will be changed by #151. I didn't want to add an incorrect proto

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not just change the proto here? Now seems like as good of a time as any to avoid it being forgotten.

Testcase(
name="cull_chirality",
xml_input_paths=["./inputs/xml_cull_chirality"],
Expand Down