test
Standalone Functions
setup
setup();
Takes no parameters.
in_public
in_public(env);
Parameters
Name | Type |
---|---|
env | TestEnvironment |
in_private
in_private(env, historical_block_number);
Parameters
Name | Type |
---|---|
env | &mut TestEnvironment |
historical_block_number | u32 |
test_get_current_value_in_public_initial
test_get_current_value_in_public_initial();
Takes no parameters.
test_get_current_value_in_public_before_scheduled_change
test_get_current_value_in_public_before_scheduled_change();
Takes no parameters.
test_get_current_value_in_public_at_scheduled_change
test_get_current_value_in_public_at_scheduled_change();
Takes no parameters.
test_get_current_value_in_public_after_scheduled_change
test_get_current_value_in_public_after_scheduled_change();
Takes no parameters.
test_get_current_value_in_private_before_change
test_get_current_value_in_private_before_change();
Takes no parameters.
test_get_current_value_in_private_immediately_before_change
test_get_current_value_in_private_immediately_before_change();
Takes no parameters.
test_get_current_value_in_private_at_change
test_get_current_value_in_private_at_change();
Takes no parameters.
test_get_current_value_in_private_after_change
test_get_current_value_in_private_after_change();
Takes no parameters.
test_get_current_delay_in_public
test_get_current_delay_in_public();
Takes no parameters.
test_get_scheduled_delay_in_public_before_change
test_get_scheduled_delay_in_public_before_change();
Takes no parameters.
test_schedule_value_change_no_delay
test_schedule_value_change_no_delay();
Takes no parameters.
test_schedule_value_change_before_change_no_scheduled_delay
test_schedule_value_change_before_change_no_scheduled_delay();
Takes no parameters.
test_schedule_value_change_before_change_scheduled_delay
test_schedule_value_change_before_change_scheduled_delay();
Takes no parameters.
test_schedule_value_change_after_change_no_scheduled_delay
test_schedule_value_change_after_change_no_scheduled_delay();
Takes no parameters.
test_schedule_value_change_after_change_scheduled_delay
test_schedule_value_change_after_change_scheduled_delay();
Takes no parameters.
test_schedule_delay_increase_before_change
test_schedule_delay_increase_before_change();
Takes no parameters.
test_schedule_delay_reduction_before_change
test_schedule_delay_reduction_before_change();
Takes no parameters.
test_schedule_delay_increase_after_change
test_schedule_delay_increase_after_change();
Takes no parameters.
test_schedule_delay_reduction_after_change
test_schedule_delay_reduction_after_change();
Takes no parameters.