Changeset 2734


Ignore:
Timestamp:
Jun 16, 2013, 4:09:19 PM (6 years ago)
Author:
sam
Message:

test: speed up the Map unit test.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/map.cpp

    r2446 r2734  
    3737        Map<int, int> map;
    3838
    39         for (int i = 0; i < 100000; i++)
     39        for (int i = 0; i < 1000; i++)
    4040            map[i] = -1;
    4141
    42         for (int i = 0; i < 100000; i++)
     42        for (int i = 0; i < 1000; i++)
    4343            map[i] = i;
    4444
    45         for (int i = 0; i < 100000; i++)
     45        for (int i = 0; i < 1000; i++)
    4646            LOLUNIT_ASSERT_EQUAL(map[i], i);
    4747    }
Note: See TracChangeset for help on using the changeset viewer.