def METHOD_NAME():
    pretitle, posttitle, prefile, postfile = figure_naming(pretitle='Test', prefile="", postfile=3)
    assert pretitle == 'Test -- '
    assert posttitle == ""
    assert prefile == ""
    assert postfile == "_3"
    pretitle, posttitle, prefile, postfile = figure_naming(pretitle='', posttitle="Test", prefile="test", postfile="")
    assert pretitle == ""
    assert posttitle == " -- Test"
    assert prefile == "test_"
    assert postfile == ""