Lines Matching refs:Vec2
34 PackedVector<unsigned, 2> Vec2(3);
35 EXPECT_EQ(3U, Vec2.size());
36 EXPECT_FALSE(Vec2.empty());
52 EXPECT_FALSE(Vec == Vec2);
53 EXPECT_TRUE(Vec != Vec2);
55 Vec2.swap(Vec);
62 EXPECT_EQ(2U, Vec2[0]);
63 EXPECT_EQ(0U, Vec2[1]);
64 EXPECT_EQ(1U, Vec2[2]);
65 EXPECT_EQ(3U, Vec2[3]);
67 Vec = Vec2;
68 EXPECT_TRUE(Vec == Vec2);
69 EXPECT_FALSE(Vec != Vec2);
72 Vec2[1] = 2;
73 Vec |= Vec2;
89 PackedVector<unsigned, 3> Vec2(1);
90 Vec2[0] = 0;
91 Vec2[0] = 7;
104 PackedVector<signed, 3> Vec2(1);
105 Vec2[0] = -4;
106 Vec2[0] = 3;