Functions§
- burn_
from_ best_ effort_ success - Test the
burn_fromfunction for successfully burning tokens with a best-effort approach. - burn_
from_ exact_ insufficient_ funds - Test the
burn_fromfunction for handling insufficient funds withPrecision::Exact. - burn_
from_ exact_ success - Test the
burn_fromfunction 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_intofunction for handling balances below the minimum value. - mint_
into_ overflow - Test the
mint_intofunction for overflow prevention. - mint_
into_ success - Test the
mint_intofunction 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
restorefunction for handling restoration below the minimum balance. - restore_
overflow - Test the
restorefunction for handling balance overflow. - restore_
success - Test the
restorefunction 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
shelvefunction for handling insufficient funds. - shelve_
success - Test the
shelvefunction for successful shelving. - transfer_
expendable_ all - Test the
transferfunction withPreservation::Expendablefor 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
transferfunction withPreservation::ProtectandPreservation::Preservefor transferring the entire balance. - transfer_
success - Test the
transferfunction for a successful transfer.