From f3682315a20d6566af207c791c35bbe3dd446661 Mon Sep 17 00:00:00 2001 From: Olly Date: Thu, 21 Sep 2023 23:33:17 +0100 Subject: [PATCH] Fix test --- Tests/matchtemplatemask.simba | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/matchtemplatemask.simba b/Tests/matchtemplatemask.simba index 5e4786517..ead9bc184 100644 --- a/Tests/matchtemplatemask.simba +++ b/Tests/matchtemplatemask.simba @@ -50,7 +50,7 @@ end; begin img := TImage.CreateFromString('IMG:eJyNm21sHMd5x0/3Qh9qly5Fnu6s1R1r8qRtcaG4t7Js93C3DdQWKBDEtWBYthyrthPLjmO7SQo1aNpPrVEbthP0S1tHFgWdI6UOiqYCCjQfk5nZ3dm9JXmUKJm21PhNTlurcNUW6Af5g1Z9nmdm742kpCARxdPN7z/zzDPPy+zm29987plUKnUJ/ve3mVR86PGtH8bz1m0sth8pxAcPbQ1m2cSdLH744HYZH3nhUT++cuVKfPrtl/04ldoS//znLN7/Bw/EL730l/FXn3zyp183kr+O/pxrznsmEjxzPmrOxY/ff3t8uFmc+4uX4/2/ccf4XPzd/Xez8WbBb7oFc94344MPbY8PPbJVnPyReHsieqvYnOPx2Lcz8dg3fn0ivv21/BxrxoeemxKnfhktLIhi/ODu20/vKwaN+IlHHw0abNtHd3aHZz3vN+dYb0ow6+nXfox/LRjJh2x4jmw3zXD3+A42zpqFKJkWa+GkHPxGPPblLRMpF+aykxejhihGdojab923gThHjVe//jedxCbTP3llzphDQ4JuAUQXATm+u87mQM8sdBJBPirI4L/jc8OaXnzw0e1im3Qk/E+8VZTHfiJxDmJoDmJwu9Tq5/jAspeaDKbAm2zeLISk/9XHtoJ0XZx8myf6PMXju/4lncIteOrFKX82NvaPs9kW+cyzL0517Q5OaHdvNvXeZApqJhKt8Y0Xnn8pHJwLSJMx/GQ23aY7z81CQBMBZyAr1EU5mQk6BE95c82cN8twEhynwIvLm09g4RcFL5mCQOG/fgWlOaylr7tmFmSiyUZFGaqy1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X4IgHKwBLuUP/3AtShyLMNCkWo+iCL1aGu672sWxakBm5ZkCR3v74OvD9Mqf9s+X+N5ae1'); templ := img.Copy(50, 50, 100, 100); - templ.DrawCircleInverted([templ.GetCenter(), 20], 0); + templ.DrawCircleInverted([templ.GetCenter().X, templ.GetCenter().Y, 20], 0); try test(TM_CCOEFF, [83, 1], [50, 50]);