예제 #1
0
 def test_circles(self):
     borders.circles(width=10, height=10)
     self.assertEqual(imghdr.what("circles.png"), "png")
예제 #2
0
 def test_circles(self):
     borders.circles(width=10, height=10)
     self.assertEqual(imghdr.what('circles.png'), 'png')
예제 #3
0
#!/usr/bin/env python
# -*- coding: utf-8 -*-

from design import borders

from colors import rgb

borders.circles(width=14, height=14, color=rgb(255, 252, 229))