llvm/llvm/unittests/ADT/FoldingSet.cpp

//===- llvm/unittest/ADT/FoldingSetTest.cpp -------------------------------===//
//
// 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
//
//===----------------------------------------------------------------------===//
//
// FoldingSet unit tests.
//
//===----------------------------------------------------------------------===//

#include "llvm/ADT/FoldingSet.h"
#include "gtest/gtest.h"
#include <string>

usingnamespacellvm;

namespace {

// Unaligned string test.
TEST(FoldingSetTest, UnalignedStringTest) {}

TEST(FoldingSetTest, LongLongComparison) {}

struct TrivialPair : public FoldingSetNode {};

TEST(FoldingSetTest, IDComparison) {}

TEST(FoldingSetTest, MissedIDComparison) {}

TEST(FoldingSetTest, RemoveNodeThatIsPresent) {}

TEST(FoldingSetTest, RemoveNodeThatIsAbsent) {}

TEST(FoldingSetTest, GetOrInsertInserting) {}

TEST(FoldingSetTest, GetOrInsertGetting) {}

TEST(FoldingSetTest, InsertAtPos) {}

TEST(FoldingSetTest, EmptyIsTrue) {}

TEST(FoldingSetTest, EmptyIsFalse) {}

TEST(FoldingSetTest, ClearOnEmpty) {}

TEST(FoldingSetTest, ClearOnNonEmpty) {}

TEST(FoldingSetTest, CapacityLargerThanReserve) {}

TEST(FoldingSetTest, SmallReserveChangesNothing) {}

}