def test_TextEditor_Snap_center():
    im = Image.open("i3.png")
    text = "hello"
    im1 = textEditor.text_editor(im, text, "center", "snap")
    im2 = Image.open("i3_testSnap_center.png")

    assert isSameIm(im1, im2)
def test_TextEditor_Meme_mix():
    im = Image.open("i3.png")
    text = "hello"
    im1 = textEditor.text_editor(im, text, "mix", "meme")
    im2 = Image.open("i3_testMeme_mix.png")

    assert isSameIm(im1, im2)