def test_options_legend(): assert bashplot.get_args(opt={"legend": False})["legend"] is False
def test_options_version(): assert bashplot.get_args(opt={"version": True})["version"] is True
def test_options_scatter(): assert bashplot.get_args(opt={"scatter": True})["scatter"] is True
def test_options_color(): assert bashplot.get_args(opt={"color": True})["color"] is True
def test_fnames(): assert bashplot.get_args(opt={"infile": test_txt})["infile"] == test_txt
def test_usecols(): assert bashplot.get_args(opt={"usecols": [0, 2, 5]})["usecols"] == [ 0, 2, 5 ]
def test_ranges_default(): assert bashplot.get_args()["size"] == [60, 40]
def test_size(): assert bashplot.get_args(opt={"size": [60, 60]})["size"] == [60, 60]
def test_ylimits(): assert bashplot.get_args(opt={"y_limits": [0.0, 20.0]})["y_limits"] == [ 0.0, 20.0 ]