def test_style_transfer(): r = visualization._transfer_style({"class": "dashed great"}, {"class": "myclass"}) assert r["class"] == "myclass dashed"
def test_style_transfer_empty(): r = visualization._transfer_style({"class": "dashed great"}, {"something": "else"}) assert r["class"] == "dashed"