def METHOD_NAME(system, instr: str, rule: str, expected: float):
    actual = (
        system.accounts._get_SR_transaction_cost_of_rule_for_individual_instrument(
            instr, rule
        )
    )
    assert actual == approx(expected, rel=1e-3)