def test_accurate_uncompressed(self): assert estimate_tx_fee(1, 2, 70, False) == 18060
def test_none(self): assert estimate_tx_fee(5, 5, 0, True) == 0
def test_accurate_compressed(self): assert estimate_tx_fee(1, 2, 70, True) == 15820