def test_addDropShadowComplex_ShadowGreen(): ''' Manual Check Desired Output: A square image 512x512 pixels with a green shadow to the bottom right on a red background ''' imageEdit.saveImage(OUTPUT+ "/test_addDropShadowComplex_ShadowGreen.png", imageEdit.addDropShadowComplex(IMAGE, 5, 50, [50, 50], "#ff0000", "#00ff00"))
def test_addDropShadowComplex_BGBlue(): ''' Manual Check Desired Output: A square image 512x512 pixels with a black shadow to the bottom right on a blue background ''' imageEdit.saveImage(OUTPUT+ "/test_addDropShadowComplex_BGBlue.png", imageEdit.addDropShadowComplex(IMAGE, 5, 50, [50, 50], "#0000ff", "#000000"))
def test_addDropShadowComplex_Border100(): ''' Manual Check Desired Output: A square image 512x512 pixels with a black shadow to the bottom right on a red background with some additional padding ''' imageEdit.saveImage(OUTPUT+ "/test_addDropShadowComplex_Border100.png", imageEdit.addDropShadowComplex(IMAGE, 5, 100, [50, 50], "#ff0000", "#000000"))
def test_addDropShadowComplex_Iterations0(): ''' Manual Check Desired Output: A square image 512x512 pixels with a black blocky shadow to the bottom right on a red background ''' imageEdit.saveImage(OUTPUT+ "/test_addDropShadowComplex_Iterations0.png", imageEdit.addDropShadowComplex(IMAGE, 0, 50, [50, 50], "#ff0000", "#000000"))
def test_addDropShadowComplex_Border0(): ''' Manual Check Desired Output: A square image 512x512 pixels shadow is not smooth at edge ''' imageEdit.saveImage(OUTPUT+ "/test_addDropShadowComplex_Border0.png", imageEdit.addDropShadowComplex(IMAGE, 5, 0, [50, 50], "#ff0000", "#000000"))