llvm/libc/test/src/__support/CPP/bit_test.cpp

//===-- Unittests for Bit -------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "src/__support/CPP/bit.h"
#include "src/__support/big_int.h"
#include "src/__support/macros/config.h"
#include "src/__support/macros/properties/types.h" // LIBC_TYPES_HAS_INT128
#include "test/UnitTest/Test.h"

#include <stdint.h>

namespace LIBC_NAMESPACE_DECL {
namespace cpp {

UnsignedTypes;

TYPED_TEST(LlvmLibcBitTest, HasSingleBit, UnsignedTypes) {}

TYPED_TEST(LlvmLibcBitTest, CountLZero, UnsignedTypes) {}

TYPED_TEST(LlvmLibcBitTest, CountRZero, UnsignedTypes) {}

TYPED_TEST(LlvmLibcBitTest, CountLOne, UnsignedTypes) {}

TYPED_TEST(LlvmLibcBitTest, CountROne, UnsignedTypes) {}

TYPED_TEST(LlvmLibcBitTest, BitWidth, UnsignedTypes) {}

TEST(LlvmLibcBitTest, BitCeil) {}

TEST(LlvmLibcBitTest, BitFloor) {}

TYPED_TEST(LlvmLibcBitTest, RotateIsInvariantForZeroAndOne, UnsignedTypes) {}

TEST(LlvmLibcBitTest, Rotl) {}

TEST(LlvmLibcBitTest, Rotr) {}

TYPED_TEST(LlvmLibcBitTest, CountOnes, UnsignedTypes) {}

} // namespace cpp
} // namespace LIBC_NAMESPACE_DECL