Skip to content

Commit

Permalink
Clang_wants_every_single_test_variable_to_be_eleven_thousand_char_lon…
Browse files Browse the repository at this point in the history
…g_and_is_a_dumdum
  • Loading branch information
Venera3 committed Feb 24, 2024
1 parent 2234bdc commit 937b7a2
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions tests/limb_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ static const enchantment_id enchantment_ENCH_TEST_LIZARD_TAIL( "ENCH_TEST_LIZARD

static const json_character_flag json_flag_WALL_CLING( "WALL_CLING" );

static const sub_bodypart_str_id sub_limb_test_bird_foot_r( "sub_limb_test_bird_foot_r" );
static const sub_bodypart_str_id sub_limb_test_bird_foot_l( "sub_limb_test_bird_foot_l" );
static const sub_bodypart_str_id
sub_body_part_sub_limb_test_bird_foot_r( "sub_limb_test_bird_foot_r" );
static const sub_bodypart_str_id
sub_body_part_sub_limb_test_bird_foot_l( "sub_limb_test_bird_foot_l" );

static const trait_id trait_DEBUG_BIG_HEAD( "DEBUG_BIG_HEAD" );
static const trait_id trait_DEBUG_ONLY_HEAD( "DEBUG_ONLY_HEAD" );
Expand Down Expand Up @@ -173,8 +175,10 @@ TEST_CASE( "Limb_armor_coverage", "[character][limb][armor]" )
CHECK( !test_jumpsuit_cotton.covers( body_part_test_bird_wing_l ) );

// Sublimb substitution works the same
CHECK( bird_boots.covers( sub_limb_test_bird_foot_l ) );
CHECK( bird_boots.covers( sub_limb_test_bird_foot_r ) );
CHECK( bird_boots.portion_for_bodypart( sub_limb_test_bird_foot_l )->coverage == 100 );
CHECK( bird_boots.portion_for_bodypart( sub_limb_test_bird_foot_r )->coverage == 100 );
CHECK( bird_boots.covers( sub_body_part_sub_limb_test_bird_foot_l ) );
CHECK( bird_boots.covers( sub_body_part_sub_limb_test_bird_foot_r ) );
CHECK( bird_boots.portion_for_bodypart( sub_body_part_sub_limb_test_bird_foot_l )->coverage ==
100 );
CHECK( bird_boots.portion_for_bodypart( sub_body_part_sub_limb_test_bird_foot_r )->coverage ==
100 );
}

0 comments on commit 937b7a2

Please sign in to comment.