• Home
  • Raw
  • Download

Lines Matching refs:bit_string

314   absl::optional<BitString> bit_string = ParseBitString(Input(kData));  in TEST()  local
315 ASSERT_TRUE(bit_string.has_value()); in TEST()
317 EXPECT_EQ(0u, bit_string->unused_bits()); in TEST()
318 EXPECT_EQ(0u, bit_string->bytes().Length()); in TEST()
320 EXPECT_FALSE(bit_string->AssertsBit(0)); in TEST()
321 EXPECT_FALSE(bit_string->AssertsBit(1)); in TEST()
322 EXPECT_FALSE(bit_string->AssertsBit(3)); in TEST()
329 absl::optional<BitString> bit_string = ParseBitString(Input(kData)); in TEST() local
330 EXPECT_FALSE(bit_string.has_value()); in TEST()
338 absl::optional<BitString> bit_string = ParseBitString(Input(kData)); in TEST() local
339 EXPECT_FALSE(bit_string.has_value()); in TEST()
346 absl::optional<BitString> bit_string = ParseBitString(Input(kData)); in TEST() local
347 ASSERT_TRUE(bit_string.has_value()); in TEST()
349 EXPECT_EQ(1u, bit_string->unused_bits()); in TEST()
350 EXPECT_EQ(1u, bit_string->bytes().Length()); in TEST()
351 EXPECT_EQ(0xFE, bit_string->bytes().UnsafeData()[0]); in TEST()
353 EXPECT_TRUE(bit_string->AssertsBit(0)); in TEST()
354 EXPECT_TRUE(bit_string->AssertsBit(1)); in TEST()
355 EXPECT_TRUE(bit_string->AssertsBit(2)); in TEST()
356 EXPECT_TRUE(bit_string->AssertsBit(3)); in TEST()
357 EXPECT_TRUE(bit_string->AssertsBit(4)); in TEST()
358 EXPECT_TRUE(bit_string->AssertsBit(5)); in TEST()
359 EXPECT_TRUE(bit_string->AssertsBit(6)); in TEST()
360 EXPECT_FALSE(bit_string->AssertsBit(7)); in TEST()
361 EXPECT_FALSE(bit_string->AssertsBit(8)); in TEST()
369 absl::optional<BitString> bit_string = ParseBitString(Input(kData)); in TEST() local
370 EXPECT_FALSE(bit_string.has_value()); in TEST()