19 int test_data[] = {8, 1, 2, -4, 7, 9, 65536, 4, 9, 0, -32767, 6, 7};
25 std::locale::global(std::locale(
""));
52 EXPECT_EQ(-32767, v[index].key);
56 EXPECT_EQ(65536, v[index].key);
61 EXPECT_EQ(-32767, v[index].key);
65 EXPECT_EQ(65536, v[index].key);
72 int test_data[] = {8, 8, 8, 8, 8, 7, 7, 7, 7};
80 EXPECT_EQ(7, v[index].key);
83 EXPECT_EQ(8, v[index].key);
87 EXPECT_EQ(7, v[index].key);
91 EXPECT_EQ(8, v[index].key);
102 EXPECT_EQ(6, v[index].key);
103 EXPECT_EQ(11, v[index].data);
117 EXPECT_EQ(7, v[index].key);
118 EXPECT_TRUE(v[index].data == 4 || v[index].data == 12);