Skip to content

Commit

Permalink
Add newly required tools to crafting test
Browse files Browse the repository at this point in the history
  • Loading branch information
kevingranade committed May 4, 2020
1 parent b3f3ea4 commit d15c896
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/crafting_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,8 @@ TEST_CASE( "total crafting time with or without interruption", "[crafting][time]

std::vector<item> tools;
tools.emplace_back( "hammer" );
tools.emplace_back( "wrench" );
tools.emplace_back( "hacksaw" );

// Will interrupt after 2 turns, so craft needs to take at least that long
REQUIRE( expected_turns_taken > 2 );
Expand Down

0 comments on commit d15c896

Please sign in to comment.