def METHOD_NAME(attr, value):
    """Test that QuickCompress can get and set attributes."""
    qc = hoomd.hpmc.update.QuickCompress(trigger=hoomd.trigger.Periodic(10),
                                         target_box=hoomd.Box.from_box(
                                             [10, 10, 10]))
    setattr(qc, attr, value)
    assert getattr(qc, attr) == value