Skip to content
This repository has been archived by the owner on Nov 15, 2021. It is now read-only.

Commit

Permalink
update unittest
Browse files Browse the repository at this point in the history
- update test_gas_costs.py based on using the `Ceil()` function
  • Loading branch information
jseagrave21 committed Sep 10, 2019
1 parent 016f30d commit 22a3339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neo/SmartContract/tests/test_gas_costs.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def test_build_contract_5(self):
tx, result, total_ops, engine = BuildAndRun(arguments, wallet, False)

expected_cost = Fixed8.FromDecimal(15.466)
expected_gas = Fixed8.FromDecimal(5.466)
expected_gas = Fixed8.FromDecimal(6)
self.assertEqual(expected_cost, engine.GasConsumed())
self.assertEqual(tx.Gas, expected_gas)

Expand Down

0 comments on commit 22a3339

Please sign in to comment.