aboutsummaryrefslogtreecommitdiff
path: root/proofsearch/tests/test_unification.cc
diff options
context:
space:
mode:
authorRichard Qin <richard.qin.x@gmail.com>2026-04-04 05:21:26 +0800
committerRichard Qin <richard.qin.x@gmail.com>2026-04-04 05:21:26 +0800
commit593a94a3c13aff82b31fd6c61e0ae07b97a2e426 (patch)
treee58a8954b00d412c5f5c5e80bda6b31029dbe138 /proofsearch/tests/test_unification.cc
parent9a5dd39accb75618dc40b5b4f4a3c059cacf6e04 (diff)
downloadrcc-project-593a94a3c13aff82b31fd6c61e0ae07b97a2e426.tar.gz
rcc-project-593a94a3c13aff82b31fd6c61e0ae07b97a2e426.tar.xz
style: reformat codebase with consistent indentation
Diffstat (limited to 'proofsearch/tests/test_unification.cc')
-rw-r--r--proofsearch/tests/test_unification.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/proofsearch/tests/test_unification.cc b/proofsearch/tests/test_unification.cc
index 3ee6f00..516058a 100644
--- a/proofsearch/tests/test_unification.cc
+++ b/proofsearch/tests/test_unification.cc
@@ -16,14 +16,14 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-#include <gtest/gtest.h>
-
#include "atp/core/symbol_table.h"
#include "atp/core/term_bank.h"
#include "atp/core/types.h"
#include "atp/infer/substitution.h"
#include "atp/infer/unification.h"
+#include <gtest/gtest.h>
+
namespace atp {
namespace {
@@ -348,8 +348,7 @@ TEST_F(UnificationTest, UnifyThenApply) {
EXPECT_EQ(applySubstitution(subst, lhs, bank), P(a, f(b)));
EXPECT_EQ(applySubstitution(subst, rhs, bank), P(a, f(b)));
// Both sides should produce the same term after applying the MGU
- EXPECT_EQ(applySubstitution(subst, lhs, bank),
- applySubstitution(subst, rhs, bank));
+ EXPECT_EQ(applySubstitution(subst, lhs, bank), applySubstitution(subst, rhs, bank));
}
} // namespace