llvm/llvm/unittests/Support/SwapByteOrderTest.cpp

//===- unittests/Support/SwapByteOrderTest.cpp - swap byte order test -----===//
//
// 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 "llvm/Support/SwapByteOrder.h"
#include "gtest/gtest.h"
#include <cstdlib>
#include <ctime>
usingnamespacellvm;

#undef max

namespace {

// In these first two tests all of the original_uintx values are truncated
// except for 64. We could avoid this, but there's really no point.

TEST(getSwappedBytes, UnsignedRoundTrip) {}

TEST(getSwappedBytes, SignedRoundTrip) {}

TEST(getSwappedBytes, uint8_t) {}

TEST(getSwappedBytes, uint16_t) {}

TEST(getSwappedBytes, uint32_t) {}

TEST(getSwappedBytes, uint64_t) {}

TEST(getSwappedBytes, int8_t) {}

TEST(getSwappedBytes, int16_t) {}

TEST(getSwappedBytes, int32_t) {}

TEST(getSwappedBytes, int64_t) {}

TEST(getSwappedBytes, float) {}

TEST(getSwappedBytes, double) {}

TEST(swapByteOrder, uint8_t) {}

TEST(swapByteOrder, uint16_t) {}

TEST(swapByteOrder, uint32_t) {}

TEST(swapByteOrder, uint64_t) {}

TEST(swapByteOrder, int8_t) {}

TEST(swapByteOrder, int16_t) {}

TEST(swapByteOrder, int32_t) {}

TEST(swapByteOrder, int64_t) {}

TEST(swapByteOrder, float) {}

TEST(swapByteOrder, double) {}

}