From 13d3c9d828fae2eb83ac930de1237b4280a3de8a Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Sun, 16 Jun 2013 14:09:19 +0000 Subject: [PATCH] test: speed up the Map unit test. --- test/unit/map.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/unit/map.cpp b/test/unit/map.cpp index 618b8578..4fff9c29 100644 --- a/test/unit/map.cpp +++ b/test/unit/map.cpp @@ -36,13 +36,13 @@ LOLUNIT_FIXTURE(MapTest) { Map map; - for (int i = 0; i < 100000; i++) + for (int i = 0; i < 1000; i++) map[i] = -1; - for (int i = 0; i < 100000; i++) + for (int i = 0; i < 1000; i++) map[i] = i; - for (int i = 0; i < 100000; i++) + for (int i = 0; i < 1000; i++) LOLUNIT_ASSERT_EQUAL(map[i], i); }