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

Function testVector1

test/unit/containers.cc:49–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49void testVector1 ()
50{
51 ReverseComparator reverse (&standardComparator);
52
53 puts ("--- testVector (1) ---");
54
55 Vector<String> v (true, 1);
56
57 v.put (new String ("one"));
58 v.put (new String ("two"));
59 v.put (new String ("three"));
60 puts (v.toString());
61
62 v.sort (&reverse);
63 puts (v.toString());
64
65 v.sort ();
66 puts (v.toString());
67}
68
69void testVector2 ()
70{

Callers 1

mainFunction · 0.85

Calls 3

toStringMethod · 0.80
putMethod · 0.45
sortMethod · 0.45

Tested by

no test coverage detected