def METHOD_NAME():
    tax_base = numpy.array([200, 200.2, 200.002, 200.6, 200.006, 200.5, 200.005])
    tax_scale = taxscales.MarginalRateTaxScale()
    tax_scale.add_bracket(0, 0)
    tax_scale.add_bracket(100, 0.1)
    result = tax_scale.calc(tax_base, round_base_decimals=3)
    tools.assert_near(
        result,
        [10, 10.02, 10.0, 10.06, 10.001, 10.05, 10],
        absolute_error_margin=1e-10,
    )