Skip to content

Battle ~ Test ~ Moves ~ Items ~ Equipment ~ Design Document

nicholaswlee edited this page May 31, 2022 · 8 revisions

Battle Testing Moves, Items, and Equipment Design Document

There have been a lot file changes and ways that battles have changed. We need to implement a couple more tests to allow for all of our code base to be tested. Below we have listed all the testing files and the functions that need to be added/changed to make testing more complete that have not already been done by the past team.

test_battle_default_objects.c

default_equip_weapon

We would like to test to make sure a weapons stats are applied correctly

default_equip_accessory

We would like to test to make sure a accessory stats are applied correctly

default_equip_armor

We would like to test to make sure a armor stats are applied correctly

default_equip_equipement_sets

We would like to test to make sure that different equipment sets are applied correctly

default_equip_offensive_item

We would like to test offensive items to make sure they debut correctly.

test_battle_moves.c

All tests need to be updated to accommodate new fields

test_battle_state.c

combatant_new

This test needs to test for equipment

combatant_init

This test needs to test for equipment

stat_changes_init

Needs to be updated for new fields

stat_changes_undo

Needs to be updated for new fields

Clone this wiki locally