MCPcopy Create free account
hub / github.com/ElementsProject/elements / assert_close

Function assert_close

test/functional/feature_progress.py:17–18  ·  view source on GitHub ↗
(f1, f2)

Source from the content-addressed store, hash-verified

15)
16
17def assert_close(f1, f2):
18 assert abs(Decimal(f1)-f2) < 0.1
19
20class ProgressTest(BitcoinTestFramework):
21 def set_test_params(self):

Callers 1

run_testMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected