Lines Matching refs:ibm
50 hb_inc_bimap_t ibm; in main() local
52 assert (ibm.add (13) == 0); in main()
53 assert (ibm.add (8) == 1); in main()
54 assert (ibm.add (10) == 2); in main()
55 assert (ibm.add (8) == 1); in main()
56 assert (ibm.add (7) == 3); in main()
57 assert (ibm.get_population () == 4); in main()
58 assert (ibm[7] == 3); in main()
60 ibm.sort (); in main()
61 assert (ibm.get_population () == 4); in main()
62 assert (ibm[7] == 0); in main()
63 assert (ibm[13] == 3); in main()
65 ibm.identity (3); in main()
66 assert (ibm.get_population () == 3); in main()
67 assert (ibm[0] == 0); in main()
68 assert (ibm[1] == 1); in main()
69 assert (ibm[2] == 2); in main()
70 assert (ibm.backward (0) == 0); in main()
71 assert (ibm.backward (1) == 1); in main()
72 assert (ibm.backward (2) == 2); in main()
73 assert (ibm.has (4) == false); in main()