Lines Matching refs:SignedField
145 using SignedField = Bitfield::Element<int, 1, 1>; in TEST() typedef
146 EXPECT_EQ(Bitfield::get<SignedField>(Storage), 0); in TEST()
149 Bitfield::set<SignedField>(Storage, -1); in TEST()
150 EXPECT_EQ(Bitfield::get<SignedField>(Storage), -1); in TEST()
157 using SignedField = Bitfield::Element<int, 1, 2>; in TEST() typedef
158 EXPECT_EQ(Bitfield::get<SignedField>(Storage), 0); in TEST()
161 Bitfield::set<SignedField>(Storage, 1); in TEST()
162 EXPECT_EQ(Bitfield::get<SignedField>(Storage), 1); in TEST()
165 Bitfield::set<SignedField>(Storage, -1); in TEST()
166 EXPECT_EQ(Bitfield::get<SignedField>(Storage), -1); in TEST()
169 Bitfield::set<SignedField>(Storage, -2); in TEST()
170 EXPECT_EQ(Bitfield::get<SignedField>(Storage), -2); in TEST()