def check_layoutable_properties(layoutable, model):
    layoutable.background = '#ffffff'
    assert (model.background == '#ffffff')
    layoutable.css_classes = ['custom_class']
    assert (model.css_classes == ['custom_class'])
    layoutable.width = 500
    assert (model.width == 500)
    layoutable.height = 450
    assert (model.height == 450)
    layoutable.min_height = 300
    assert (model.min_height == 300)
    layoutable.min_width = 250
    assert (model.min_width == 250)
    layoutable.max_height = 600
    assert (model.max_height == 600)
    layoutable.max_width = 550
    assert (model.max_width == 550)
    layoutable.margin = 10
    assert (model.margin == (10, 10, 10, 10))
    layoutable.sizing_mode = 'stretch_width'
    assert (model.sizing_mode == 'stretch_width')
    layoutable.width_policy = 'max'
    assert (model.width_policy == 'max')
    layoutable.height_policy = 'min'
    assert (model.height_policy == 'min')
def check_layoutable_properties(layoutable, model):
    layoutable.background = '#ffffff'
    assert (model.background == '#ffffff')
    layoutable.css_classes = ['custom_class']
    assert (model.css_classes == ['custom_class'])
    layoutable.width = 500
    assert (model.width == 500)
    layoutable.height = 450
    assert (model.height == 450)
    layoutable.min_height = 300
    assert (model.min_height == 300)
    layoutable.min_width = 250
    assert (model.min_width == 250)
    layoutable.max_height = 600
    assert (model.max_height == 600)
    layoutable.max_width = 550
    assert (model.max_width == 550)
    layoutable.margin = 10
    assert (model.margin == (10, 10, 10, 10))
    layoutable.sizing_mode = 'stretch_width'
    assert (model.sizing_mode == 'stretch_width')
    layoutable.width_policy = 'max'
    assert (model.width_policy == 'max')
    layoutable.height_policy = 'min'
    assert (model.height_policy == 'min')