OneBit2 237 test/cctest/test-conversions.cc CHECK(!OneBit2::is_valid(static_cast<uint32_t>(-1))); OneBit2 243 test/cctest/test-conversions.cc CHECK(OneBit2::is_valid(i)); OneBit2 244 test/cctest/test-conversions.cc x = OneBit2::encode(i); OneBit2 245 test/cctest/test-conversions.cc CHECK_EQ(i, OneBit2::decode(x)); OneBit2 248 test/cctest/test-conversions.cc CHECK(!OneBit2::is_valid(2));