add test_prove_mint_utxo

This commit is contained in:
Rostyslav Tyshko 2025-06-26 23:16:56 -04:00
parent d0c5040fe9
commit d9696e77eb

View File

@ -550,4 +550,14 @@ mod tests {
assert_eq!(utxo_exec.owner, owner); assert_eq!(utxo_exec.owner, owner);
} }
#[test]
fn test_prove_mint_utxo() {
let owner = AccountAddress::default();
let amount = 123456789;
let (utxo, _) = prove_mint_utxo(amount, owner).expect("proof failed");
assert_eq!(utxo.amount, amount);
assert_eq!(utxo.owner, owner);
}
} }