OneBit1 236 test/cctest/test-conversions.cc CHECK(!OneBit1::is_valid(static_cast<uint32_t>(-1))); OneBit1 239 test/cctest/test-conversions.cc CHECK(OneBit1::is_valid(i)); OneBit1 240 test/cctest/test-conversions.cc x = OneBit1::encode(i); OneBit1 241 test/cctest/test-conversions.cc CHECK_EQ(i, OneBit1::decode(x)); OneBit1 247 test/cctest/test-conversions.cc CHECK(!OneBit1::is_valid(2));