From c761d749a866ce8019e6f2904475bdf367cb5d74 Mon Sep 17 00:00:00 2001 From: Rafael Madureira dos Santos Date: Mon, 29 Dec 2014 21:15:46 -0200 Subject: [PATCH] Increasing test coverage --- src/javascript/tests/engine/Collision.test.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/javascript/tests/engine/Collision.test.js b/src/javascript/tests/engine/Collision.test.js index b9da7f2..b7cc6cf 100644 --- a/src/javascript/tests/engine/Collision.test.js +++ b/src/javascript/tests/engine/Collision.test.js @@ -17,6 +17,7 @@ describe("engine/Collision", function() { var newPosition = collision.checkCollision(fromX, fromY, toX, toY, radius, miniMap, screen); expect(newPosition.x).toEqual(fromX); + expect(newPosition.y).toEqual(fromY); }); });