Skip to content

Commit

Permalink
Add test cases for the newly added weapons
Browse files Browse the repository at this point in the history
Signed-off-by: Shounak Dey <[email protected]>
  • Loading branch information
sdglitched committed Nov 23, 2024
1 parent 8112c23 commit c04d3a3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/data/weap/test_bow.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
pytest.param("Sharpshooter's Oath", 3, 2, "Level 80/90 (Rank 6)", 375, WeaponStatType.critical_damage_perc, 42.7, id="data.weap.bows: Sharpshooter's Oath"),
pytest.param("Cloudforged", 4, 2, "Level 80/90 (Rank 6)", 475, WeaponStatType.elemental_mastery, 151, id="data.weap.bows: Cloudforged"),
pytest.param("End of the Line", 4, 2, "Level 80/90 (Rank 6)", 475, WeaponStatType.energy_recharge_perc, 41.9, id="data.weap.bows: End of the Line"),
pytest.param("Flower-Wreathed Feathers", 4, 2, "Level 80/90 (Rank 6)", 475, WeaponStatType.attack_perc, 37.7, id="data.weap.bows: Flower-Wreathed Feathers"),
pytest.param("Mitternachts Waltz", 4, 2, "Level 80/90 (Rank 6)", 475, WeaponStatType.damage_bonus_physical_perc, 47.2, id="data.weap.bows: Mitternachts Waltz"),
pytest.param("Predator", 4, 2, "Level 80/90 (Rank 6)", 475, WeaponStatType.attack_perc, 37.7, id="data.weap.bows: Predator"),
pytest.param("Prototype Crescent", 4, 2, "Level 80/90 (Rank 6)", 475, WeaponStatType.attack_perc, 37.7, id="data.weap.bows: Prototype Crescent"),
Expand All @@ -34,6 +35,7 @@
pytest.param("The Viridescent Hunt", 4, 2, "Level 80/90 (Rank 6)", 475, WeaponStatType.critical_rate_perc, 25.1, id="data.weap.bows: The Viridescent Hunt"),
pytest.param("Windblume Ode", 4, 2, "Level 80/90 (Rank 6)", 475, WeaponStatType.elemental_mastery, 151, id="data.weap.bows: Windblume Ode"),
pytest.param("Amos' Bow", 5, 2, "Level 80/90 (Rank 6)", 563, WeaponStatType.attack_perc, 45.3, id="data.weap.bows: Amos' Bow"),
pytest.param("Astral Vulture's Crimson Plumage", 5, 2, "Level 80/90 (Rank 6)", 563, WeaponStatType.critical_damage_perc, 60.3, id="data.weap.bows: Astral Vulture's Crimson Plumage"),
pytest.param("Elegy for the End", 5, 2, "Level 80/90 (Rank 6)", 563, WeaponStatType.energy_recharge_perc, 50.3, id="data.weap.bows: Elegy for the End"),
pytest.param("Polar Star", 5, 2, "Level 80/90 (Rank 6)", 563, WeaponStatType.critical_rate_perc, 30.2, id="data.weap.bows: Polar Star"),
pytest.param("The First Great Magic", 5, 2, "Level 80/90 (Rank 6)", 563, WeaponStatType.critical_damage_perc, 60.3, id="data.weap.bows: The First Great Magic"),
Expand Down
1 change: 1 addition & 0 deletions test/data/weap/test_catalyst.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
pytest.param("Eye of Perception", 4, 1, "Level 80/90 (Rank 6)", 427, WeaponStatType.attack_perc, 50.3, id="data.weap.catalysts: Eye of Perception"),
pytest.param("Sacrificial Fragments", 4, 1, "Level 80/90 (Rank 6)", 427, WeaponStatType.elemental_mastery, 201, id="data.weap.catalysts: Sacrificial Fragments"),
pytest.param("Sacrificial Jade", 4, 1, "Level 80/90 (Rank 6)", 427, WeaponStatType.critical_rate_perc, 33.5, id="data.weap.catalysts: Sacrificial Jade"),
pytest.param("Waveriding Whirl", 4, 1, "Level 80/90 (Rank 6)", 427, WeaponStatType.energy_recharge_perc, 55.9, id="data.weap.catalysts: Waveriding Whirl"),
pytest.param("A Thousand Floating Dreams", 5, 1, "Level 80/90 (Rank 6)", 506, WeaponStatType.elemental_mastery, 241, id="data.weap.catalysts: A Thousand Floating Dreams"),
pytest.param("Surf's Up", 5, 1, "Level 80/90 (Rank 6)", 506, WeaponStatType.critical_damage_perc, 80.4, id="data.weap.catalysts: Surf's Up"),
pytest.param("Tome of the Eternal Flow", 5, 1, "Level 80/90 (Rank 6)", 506, WeaponStatType.critical_damage_perc, 80.4, id="data.weap.catalysts: Tome of the Eternal Flow"),
Expand Down
2 changes: 2 additions & 0 deletions test/face/wind/weap/kind/test_bow.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
pytest.param("Sharpshooter's Oath", 3, "Level 80/90 (Rank 6)", 375, WeaponStatType.critical_damage_perc, 42.7, 5, id="face.wind.rule: Configuring weapon - Bow - Sharpshooter's Oath"),
pytest.param("Cloudforged", 4, "Level 80/90 (Rank 6)", 475, WeaponStatType.elemental_mastery, 151, 5, id="face.wind.rule: Configuring weapon - Bow - Cloudforged"),
pytest.param("End of the Line", 4, "Level 80/90 (Rank 6)", 475, WeaponStatType.energy_recharge_perc, 41.9, 5, id="face.wind.rule: Configuring weapon - Bow - End of the Line"),
pytest.param("Flower-Wreathed Feathers", 4, "Level 80/90 (Rank 6)", 475, WeaponStatType.attack_perc, 37.7, 5, id="face.wind.rule: Configuring weapon - Bow - Flower-Wreathed Feathers"),
pytest.param("Mitternachts Waltz", 4, "Level 80/90 (Rank 6)", 475, WeaponStatType.damage_bonus_physical_perc, 47.2, 5, id="face.wind.rule: Configuring weapon - Bow - Mitternachts Waltz"),
pytest.param("Predator", 4, "Level 80/90 (Rank 6)", 475, WeaponStatType.attack_perc, 37.7, 1, id="face.wind.rule: Configuring weapon - Bow - Predator"),
pytest.param("Prototype Crescent", 4, "Level 80/90 (Rank 6)", 475, WeaponStatType.attack_perc, 37.7, 5, id="face.wind.rule: Configuring weapon - Bow - Prototype Crescent"),
Expand All @@ -34,6 +35,7 @@
pytest.param("The Viridescent Hunt", 4, "Level 80/90 (Rank 6)", 475, WeaponStatType.critical_rate_perc, 25.1, 5, id="face.wind.rule: Configuring weapon - Bow - The Viridescent Hunt"),
pytest.param("Windblume Ode", 4, "Level 80/90 (Rank 6)", 475, WeaponStatType.elemental_mastery, 151, 5, id="face.wind.rule: Configuring weapon - Bow - Windblume Ode"),
pytest.param("Amos' Bow", 5, "Level 80/90 (Rank 6)", 563, WeaponStatType.attack_perc, 45.3, 5, id="face.wind.rule: Configuring weapon - Bow - Amos' Bow"),
pytest.param("Astral Vulture's Crimson Plumage", 5, "Level 80/90 (Rank 6)", 563, WeaponStatType.critical_damage_perc, 60.3, 5, id="face.wind.rule: Configuring weapon - Bow - Astral Vulture's Crimson Plumage"),
pytest.param("Elegy for the End", 5, "Level 80/90 (Rank 6)", 563, WeaponStatType.energy_recharge_perc, 50.3, 5, id="face.wind.rule: Configuring weapon - Bow - Elegy for the End"),
pytest.param("Polar Star", 5, "Level 80/90 (Rank 6)", 563, WeaponStatType.critical_rate_perc, 30.2, 5, id="face.wind.rule: Configuring weapon - Bow - Polar Star"),
pytest.param("The First Great Magic", 5, "Level 80/90 (Rank 6)", 563, WeaponStatType.critical_damage_perc, 60.3, 5, id="face.wind.rule: Configuring weapon - Bow - The First Great Magic"),
Expand Down
1 change: 1 addition & 0 deletions test/face/wind/weap/kind/test_catalyst.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
pytest.param("Eye of Perception", 4, "Level 80/90 (Rank 6)", 427, WeaponStatType.attack_perc, 50.3, 5, id="face.wind.rule: Configuring weapon - Catalyst - Eye of Perception"),
pytest.param("Sacrificial Fragments", 4, "Level 80/90 (Rank 6)", 427, WeaponStatType.elemental_mastery, 201, 5, id="face.wind.rule: Configuring weapon - Catalyst - Sacrificial Fragments"),
pytest.param("Sacrificial Jade", 4, "Level 80/90 (Rank 6)", 427, WeaponStatType.critical_rate_perc, 33.5, 5, id="face.wind.rule: Configuring weapon - Catalyst - Sacrificial Jade"),
pytest.param("Waveriding Whirl", 4, "Level 80/90 (Rank 6)", 427, WeaponStatType.energy_recharge_perc, 55.9, 5, id="face.wind.rule: Configuring weapon - Catalyst - Waveriding Whirl"),
pytest.param("A Thousand Floating Dreams", 5, "Level 80/90 (Rank 6)", 506, WeaponStatType.elemental_mastery, 241, 5, id="face.wind.rule: Configuring weapon - Catalyst - A Thousand Floating Dreams"),
pytest.param("Surf's Up", 5, "Level 80/90 (Rank 6)", 506, WeaponStatType.critical_damage_perc, 80.4, 5, id="face.wind.rule: Configuring weapon - Catalyst - Surf's Up"),
pytest.param("Tome of the Eternal Flow", 5, "Level 80/90 (Rank 6)", 506, WeaponStatType.critical_damage_perc, 80.4, 5, id="face.wind.rule: Configuring weapon - Catalyst - Tome of the Eternal Flow"),
Expand Down

0 comments on commit c04d3a3

Please sign in to comment.