Ticket #3529: execution_results

File execution_results, 1.7 KB (added by morozov@…, 13 years ago)

Execution results

Line 
1Here's result of execution
2
3alex@rhyme ~/tmp/c++ $ ./testmap create
4alex@rhyme ~/tmp/c++ $ ./testmap add 4AD847FF.108C4.38B3
5alex@rhyme ~/tmp/c++ $ ./testmap add 4AD84681.1BFF1.3899
6alex@rhyme ~/tmp/c++ $ ./testmap add 4AD833F4.2B91A.361E
7alex@rhyme ~/tmp/c++ $ ./testmap add 4AD84845.3ADBB.3895
8alex@rhyme ~/tmp/c++ $ ./testmap add 4AD8484C.E7C49.3896
9alex@rhyme ~/tmp/c++ $ ./testmap add 4AD847A8.40AA2.3897
10alex@rhyme ~/tmp/c++ $ ./testmap add 4AD83274.CFB8C.35F6
11alex@rhyme ~/tmp/c++ $ ./testmap list
12RouteMap content (7 element(s)):
13 "4AD83274.CFB8C.35F6"
14 "4AD833F4.2B91A.361E"
15 "4AD847A8.40AA2.3897"
16 "4AD84845.3ADBB.3895"
17 "4AD8484C.E7C49.3896"
18 "4AD84681.1BFF1.3899"
19 "4AD847FF.108C4.38B3"
20end of RouteMap content
21alex@rhyme ~/tmp/c++ $ ./testmap find 4AD847A8.40AA2.3897
22element 4AD847A8.40AA2.3897 is NOT found
23alex@rhyme ~/tmp/c++ $ ./testmap find 4AD8484C.E7C49.3896
24element 4AD8484C.E7C49.3896 is NOT found
25alex@rhyme ~/tmp/c++ $ ./testmap find 4AD833F4.2B91A.361E
26element 4AD833F4.2B91A.361E is NOT found
27alex@rhyme ~/tmp/c++ $ ./testmap find 4AD83274.CFB8C.35F6
28element 4AD83274.CFB8C.35F6 is NOT found
29alex@rhyme ~/tmp/c++ $ ./testmap find 4AD84681.1BFF1.3899
30element 4AD84681.1BFF1.3899 is in the map
31alex@rhyme ~/tmp/c++ $ ./testmap find 4AD847FF.108C4.38B3
32element 4AD847FF.108C4.38B3 is in the map
33
34As one may see iteration over the map returns the complete list of items (7 elements), while find() skips certain keys. If I add a debug print to RouteKey::operator<, I see that just few comparsion are performed