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 |
in_unconstrained
in_unconstrained(env, );
Parameters
Name | Type |
---|---|
env | TestEnvironment |
test_get_current_value_in_public_initial
test_get_current_value_in_public_initial();
Takes no parameters.
test_get_scheduled_value_in_public
test_get_scheduled_value_in_public();
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_delay_in_public_initial
test_get_current_delay_in_public_initial();
Takes no parameters.
test_get_scheduled_delay_in_public
test_get_scheduled_delay_in_public();
Takes no parameters.
test_get_current_delay_in_public_before_scheduled_change
test_get_current_delay_in_public_before_scheduled_change();
Takes no parameters.
test_get_current_delay_in_public_at_scheduled_change
test_get_current_delay_in_public_at_scheduled_change();
Takes no parameters.
test_get_current_delay_in_public_after_scheduled_change
test_get_current_delay_in_public_after_scheduled_change();
Takes no parameters.
test_get_current_value_in_private_initial
test_get_current_value_in_private_initial();
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_value_in_private_with_non_initial_delay
test_get_current_value_in_private_with_non_initial_delay();
Takes no parameters.
test_get_current_value_in_private_bad_value_hints
test_get_current_value_in_private_bad_value_hints();
Takes no parameters.
test_get_current_value_in_private_bad_delay_hints
test_get_current_value_in_private_bad_delay_hints();
Takes no parameters.
test_get_current_value_in_private_bad_zero_hash_value_hints
test_get_current_value_in_private_bad_zero_hash_value_hints();
Takes no parameters.
test_get_current_value_in_private_bad_zero_hash_delay_hints
test_get_current_value_in_private_bad_zero_hash_delay_hints();
Takes no parameters.
test_get_current_value_in_unconstrained_initial
test_get_current_value_in_unconstrained_initial();
Takes no parameters.
test_get_current_value_in_unconstrained_before_scheduled_change
test_get_current_value_in_unconstrained_before_scheduled_change();
Takes no parameters.
test_get_current_value_in_unconstrained_at_scheduled_change
test_get_current_value_in_unconstrained_at_scheduled_change();
Takes no parameters.
test_get_current_value_in_unconstrained_after_scheduled_change
test_get_current_value_in_unconstrained_after_scheduled_change();
Takes no parameters.