{%- import "generator_macros.j2" as macros with context -%}
{{ macros.header(["sum_of_multiples"]) }}

class {{ exercise | camel_case }}Test(unittest.TestCase):
    {% for case in cases -%}
    def test_{{ case["description"] | to_snake }}(self):
        self.assertEqual({{ case["property"].replace("sum", "sum_of_multiples") }}({{ case["input"]["limit"] }}, {{ case["input"]["factors"] }}), {{ case["expected"] }})

    {% endfor %}

{{ macros.footer() }}
