//===- BalancedPartitioningTest.cpp - BalancedPartitioning 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/Support/BalancedPartitioning.h" #include "llvm/Testing/Support/SupportHelpers.h" #include "gmock/gmock.h" #include "gtest/gtest.h" Each; Field; Not; UnorderedElementsAre; UnorderedElementsAreArray; namespace llvm { void PrintTo(const BPFunctionNode &Node, std::ostream *OS) { … } class BalancedPartitioningTest : public ::testing::Test { … }; TEST_F(BalancedPartitioningTest, Basic) { … } TEST_F(BalancedPartitioningTest, Large) { … } TEST_F(BalancedPartitioningTest, MoveGain) { … } } // end namespace llvm