MCPcopy Create free account
hub / github.com/dillo-browser/dillo / testHashTable

Function testHashTable

test/unit/containers.cc:30–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30void testHashTable ()
31{
32 puts ("--- testHashTable ---");
33
34 HashTable<String, Integer> h(true, true);
35
36 h.put (new String ("one"), new Integer (1));
37 h.put (new String ("two"), new Integer (2));
38 h.put (new String ("three"), new Integer (3));
39
40 puts (h.toString());
41
42 h.put (new String ("one"), new Integer (4));
43 h.put (new String ("two"), new Integer (5));
44 h.put (new String ("three"), new Integer (6));
45
46 puts (h.toString());
47}
48
49void testVector1 ()
50{

Callers 1

mainFunction · 0.85

Calls 2

toStringMethod · 0.80
putMethod · 0.45

Tested by

no test coverage detected