Skip to content

Commit

Permalink
fix utils test values
Browse files Browse the repository at this point in the history
  • Loading branch information
sisyphusSmiling committed Apr 30, 2024
1 parent ebb0683 commit 6ced874
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cadence/tests/flow_evm_bridge_utils_tests.cdc
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@ fun testZeroUInt256ToUFix64Succeeds() {

access(all)
fun testZeroUFix64ToUInt256Succeeds() {
let zeroUFixAmount: UFix64 = 0.00002547
let zeroUIntAmount: UInt256 = 25_470_000_000_000
let zeroUFixAmount: UFix64 = 0.0
let zeroUIntAmount: UInt256 = 0

let actualUIntAmount = ufix64ToUInt256(zeroUFixAmount, decimals: 18)
Test.assertEqual(zeroUIntAmount, actualUIntAmount)
Expand Down

0 comments on commit 6ced874

Please sign in to comment.