mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-01-04 06:13:10 +00:00
add test_prove_mint_utxo
This commit is contained in:
parent
d0c5040fe9
commit
d9696e77eb
@ -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);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user