From aa68d639ad8b19770257811b6765cb3b3ba7b16e Mon Sep 17 00:00:00 2001 From: Matthias Kramm Date: Sun, 16 Aug 2009 16:18:13 +0200 Subject: [PATCH] added miterlimit test --- spec/edit_spec.py | 2 +- spec/miterlimit.pdf | Bin 0 -> 994 bytes spec/miterlimit.spec.rb | 21 +++++++++++++++++++++ 3 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 spec/miterlimit.pdf create mode 100644 spec/miterlimit.spec.rb diff --git a/spec/edit_spec.py b/spec/edit_spec.py index b270d18..670e1bf 100755 --- a/spec/edit_spec.py +++ b/spec/edit_spec.py @@ -293,7 +293,7 @@ class ImageWindow(wx.Window): if check: self.model.delete(check) else: - p = slef.model.GetPixel(x,y) + p = self.model.getPixel(x,y) color = p[0]<<16|p[1]<<8|p[2] self.model.append(PixelColorCheck(x,y,color)) else: diff --git a/spec/miterlimit.pdf b/spec/miterlimit.pdf new file mode 100644 index 0000000000000000000000000000000000000000..54743ace3dae76c85c6ac5e216b1500da338c4e6 GIT binary patch literal 994 zcmah{zi-n(6z))#Q_BPr<6A-#RgKS%?Kmi^)Y!2Uk*Zai0V$1C*SVwy*H_sWDUDc| zSr7xFQY0e8(18Kix&dOMLP+or@atb-=UtjKQ99t|e4oDezVChSQrnKZre;l&`t$qi zH=+UszJH%I6vUOvq1R!hi^IM+DoUO8M3bLw};s&8$vEqiF zU=H(ni;?wpl8Bgjhom>i)#*a1X@l3^8$KDFvtj4ukL$O;pH-J{d_JrGt=@ciw)E&7 z49>6BI*XqQd#X=YZ=HTvdi`bT)$-}%H+}J7`0V+6)~(I_oYOEp!K>RN7UAxhLF8jU~Jr z`z!$&0|J|@6?i4yYf!vfl!8fVb4En=k@?|%>l2X#C*@rfQHgRlXeAAhR%*>@fQ7j# z+Y?^MJJMYTwJ*#~>Aje>2?doBI{8d64I^hj8!j;wcPT%JE-^z#_d)HoL)lfl?4QJaH&X7b-@ x6zy`}wQMVAxb}wOSXP1Bwq`mx2UF0?)Lj2RW3;tIc(EA8Y3e#jrOI0_`3E5R6K?