Skip to content

Commit

Permalink
adjust and disable tests while strain is in flux
Browse files Browse the repository at this point in the history
  • Loading branch information
I-am-Erk committed Apr 14, 2024
1 parent f39a4d8 commit eeda6a8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/enchantments_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,9 @@ TEST_CASE( "Enchantment_ATTACK_SPEED_test", "[magic][enchantments]" )
// 25 moves per attack
INFO( "10 attacks cost only 250 moves" );
moves_spent_on_attacks = test_melee_attack_attack_speed( guy );
REQUIRE( moves_spent_on_attacks == -250 );
// STRAIN TESTING This test has been made more wobbly while strain mechanics are being balanced
REQUIRE( moves_spent_on_attacks <= -250 );
// REQUIRE( moves_spent_on_attacks == -250 );
clear_avatar();


Expand Down Expand Up @@ -282,6 +284,8 @@ static int test_melee_attack_attack_stamina( Character &guy )
return guy.get_stamina();
}

/* STRAIN TESTING: These stamina values are currently in flux.
This test will need to be reactivated once strain costs stabilize, and a version for strain added.
TEST_CASE( "Enchantment_MELEE_STAMINA_CONSUMPTION_test", "[magic][enchantments]" )
{
Expand Down Expand Up @@ -326,6 +330,7 @@ TEST_CASE( "Enchantment_MELEE_STAMINA_CONSUMPTION_test", "[magic][enchantments]"
REQUIRE( stamina_spent == 3300 );
clear_avatar();
}
*/

TEST_CASE( "Enchantment_BONUS_DODGE_test", "[magic][enchantments]" )
{
Expand Down

0 comments on commit eeda6a8

Please sign in to comment.