From 9f74416ef459ba39a90c720ce9198d073f596da7 Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Sun, 29 May 2016 23:49:39 -0400 Subject: [PATCH] placement: Remove leftover prints --- tests/examples/awful/placement/center_vertical.lua | 4 ---- tests/examples/awful/placement/stretch_left.lua | 1 - tests/examples/awful/placement/stretch_up.lua | 1 - 3 files changed, 6 deletions(-) diff --git a/tests/examples/awful/placement/center_vertical.lua b/tests/examples/awful/placement/center_vertical.lua index 18306088a..cf3fd646d 100644 --- a/tests/examples/awful/placement/center_vertical.lua +++ b/tests/examples/awful/placement/center_vertical.lua @@ -9,7 +9,3 @@ local awful = {placement = require("awful.placement")} --DOC_HIDE --[[local c = ]]client.gen_fake {x = 45, y = 35, width=40, height=30} --DOC_HIDE awful.placement.center_vertical(client.focus) - --- print("\n\n\n\n", c.y, c.height, screen[1].geometry.height/2-30/2)--FIXME --- assert(c.x == 45 and c.y==screen[1].geometry.height/2-30/2--DOC_HIDE --- and c.width==40 and c,height==30)--DOC_HIDE diff --git a/tests/examples/awful/placement/stretch_left.lua b/tests/examples/awful/placement/stretch_left.lua index 4fdd58579..06a8731d7 100644 --- a/tests/examples/awful/placement/stretch_left.lua +++ b/tests/examples/awful/placement/stretch_left.lua @@ -12,4 +12,3 @@ local c = client.gen_fake {x = 45, y = 35, width=40, height=30} --DOC_HIDE placement.stretch_left(client.focus) assert(c.x == 0 and c.y == 35 and c.height == 30) --DOC_HIDE -print(c.width-2*c.border_width == 45+40) --DOC_HIDE diff --git a/tests/examples/awful/placement/stretch_up.lua b/tests/examples/awful/placement/stretch_up.lua index 0ccfd2bcc..6f8101c22 100644 --- a/tests/examples/awful/placement/stretch_up.lua +++ b/tests/examples/awful/placement/stretch_up.lua @@ -14,5 +14,4 @@ placement.stretch_up(client.focus) assert(c.y==0) --DOC_HIDE assert(c.x==45) --DOC_HIDE assert(c.width == 40) --DOC_HIDE -print(c.height-2*c.border_width,35+30) assert(c.height-2*c.border_width == 35+30) --DOC_HIDE