Skip to content

Commit

Permalink
Update materials_test.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
worm-girl committed Feb 24, 2024
1 parent c62a933 commit 884bc25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/materials_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ TEST_CASE( "Resistance_vs_material_portions", "[material]" )
REQUIRE( mostly_plastic.get_base_material().id == material_plastic );

CHECK( mostly_steel.resist( damage_cut ) > mostly_plastic.resist( damage_cut ) );
CHECK( mostly_steel.resist( damage_acid ) < mostly_plastic.resist( damage_acid ) );
CHECK( mostly_steel.resist( damage_acid ) > mostly_plastic.resist( damage_acid ) );

Check failure on line 48 in tests/materials_test.cpp

View workflow job for this annotation

GitHub Actions / GCC 9, Curses, LTO

0.9f > 8.1f
CHECK( mostly_steel.resist( damage_bash ) > mostly_plastic.resist( damage_bash ) );
CHECK( mostly_steel.resist( damage_heat ) == mostly_plastic.resist( damage_heat ) );
CHECK( mostly_steel.resist( damage_heat ) > mostly_plastic.resist( damage_heat ) );

Check failure on line 50 in tests/materials_test.cpp

View workflow job for this annotation

GitHub Actions / GCC 9, Curses, LTO

0.1f > 0.9f
CHECK( mostly_steel.resist( damage_stab ) > mostly_plastic.resist( damage_stab ) );
CHECK( mostly_steel.resist( damage_bullet ) > mostly_plastic.resist( damage_bullet ) );
CHECK( mostly_steel.chip_resistance() > mostly_plastic.chip_resistance() );
Expand Down

0 comments on commit 884bc25

Please sign in to comment.