Lines Matching refs:get_duration
47 CHECK( dur == effect_obj.get_duration() ); in check_effect_init()
80 REQUIRE( eff_debugged.get_duration() == 1_turns );
85 CHECK( to_turns<int>( eff_debugged.get_duration() ) == -1 );
90 CHECK( eff_debugged.get_duration() == 1_hours );
219 REQUIRE( to_turns<int>( eff_debugged.get_duration() ) == 2 );
224 CHECK( to_turns<int>( eff_debugged.get_duration() ) == 1 );
231 CHECK( to_turns<int>( eff_debugged.get_duration() ) == 0 );
238 CHECK( to_turns<int>( eff_debugged.get_duration() ) == 0 );
251 REQUIRE( to_turns<int>( eff_debugged.get_duration() ) == 2 );
256 CHECK( to_turns<int>( eff_debugged.get_duration() ) == 2 );
258 CHECK( to_turns<int>( eff_debugged.get_duration() ) == 2 );