//===----------- ImmutableSetTest.cpp - ImmutableSet unit tests ------------===// // // 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/ADT/ImmutableSet.h" #include "gtest/gtest.h" usingnamespacellvm; namespace { class ImmutableSetTest : public testing::Test { … }; char ImmutableSetTest::buffer[10]; TEST_F(ImmutableSetTest, EmptyIntSetTest) { … } TEST_F(ImmutableSetTest, OneElemIntSetTest) { … } TEST_F(ImmutableSetTest, MultiElemIntSetTest) { … } TEST_F(ImmutableSetTest, RemoveIntSetTest) { … } TEST_F(ImmutableSetTest, IterLongSetTest) { … } }