Module inspect_mutate
Functions§
- burn_
from_ best_ effort_ success - Test the
burn_from
function for successfully burning tokens with a best-effort approach. - burn_
from_ exact_ insufficient_ funds - Test the
burn_from
function for handling insufficient funds withPrecision::Exact
. - burn_
from_ exact_ success - Test the
burn_from
function for successfully burning an exact amount of tokens. - can_
deposit_ below_ minimum - Test the can_deposit function for returning a minimum balance error.
- can_
deposit_ overflow - Test the can_deposit function for returning an overflow error.
- can_
deposit_ success - Test the can_deposit function for returning a success value.
- can_
withdraw_ balance_ low - Test the can_withdraw function for returning a low balance error.
- can_
withdraw_ reduced_ to_ zero - Test the can_withdraw function for withdrawal resulting in a reduced balance of zero.
- can_
withdraw_ success - Test the can_withdraw function for returning a success value.
- mint_
into_ below_ minimum - Test the
mint_into
function for handling balances below the minimum value. - mint_
into_ overflow - Test the
mint_into
function for overflow prevention. - mint_
into_ success - Test the
mint_into
function for successful token minting. - reducible_
balance_ expendable - Test the reducible_balance function with Preservation::Expendable.
- reducible_
balance_ protect_ preserve - Test the reducible_balance function with Preservation::Protect and Preservation::Preserve.
- restore_
below_ minimum - Test the
restore
function for handling restoration below the minimum balance. - restore_
overflow - Test the
restore
function for handling balance overflow. - restore_
success - Test the
restore
function for successful restoration. - set_
balance_ burn_ success - Test the set_balance function for successful burning.
- set_
balance_ mint_ success - Test the set_balance function for successful minting.
- shelve_
insufficient_ funds - Test the
shelve
function for handling insufficient funds. - shelve_
success - Test the
shelve
function for successful shelving. - transfer_
expendable_ all - Test the
transfer
function withPreservation::Expendable
for transferring the entire balance. - transfer_
expendable_ dust - Test the transfer function with Preservation::Expendable for transferring amounts that leaves an account with less than the minimum balance.
- transfer_
protect_ preserve - Test the
transfer
function withPreservation::Protect
andPreservation::Preserve
for transferring the entire balance. - transfer_
success - Test the
transfer
function for a successful transfer.