From a724db3babeffb6bbd8fa8180da1d9a8ca49d0a5 Mon Sep 17 00:00:00 2001 From: Benjamin Koltes <benjamin.koltes@student.ecp.fr> Date: Tue, 29 Mar 2016 23:36:36 +0200 Subject: [PATCH] yolo --- tests/02_rayon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/02_rayon.py b/tests/02_rayon.py index d3389e7..a9a0fc4 100644 --- a/tests/02_rayon.py +++ b/tests/02_rayon.py @@ -10,7 +10,7 @@ c = Camera(100, 200, 3) r_center = c.ray_at(c.image_nrows / 2, c.image_ncols / 2); -assert (abs(r_center.direction*Vector([0,0,1]) - r_center.direction.norm()) < 0.01, "c.ray_at(c.image_nrows / 2, c.image_ncols / 2) should have the direction [0,0,1].") +assert abs(r_center.direction*Vector([0,0,1]) - r_center.direction.norm()) < 0.01, "c.ray_at(c.image_nrows / 2, c.image_ncols / 2) should have the direction [0,0,1]." r_zero = c.ray_at(0,0); -- GitLab