diff options
author | Aina Niemetz <aina.niemetz@gmail.com> | 2021-03-03 17:36:57 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-04 01:36:57 +0000 |
commit | eca92626dafa1e22e59aec94f6e34788c51e777a (patch) | |
tree | 421e86a3bd6c1f870646a6ee34a574d4b8151abf /test | |
parent | 27d6a284f34ff787882a952572519233ec12b939 (diff) |
New C++ API: Clean up usage of internal Result. (#6043)
This disables the temporarily available internals of Result.
It further changes the interface for getUnknownExplanation, which now
returns an enum value instead of a string.
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/api/result_black.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/api/result_black.cpp b/test/unit/api/result_black.cpp index 887be8fe0..a3e693b27 100644 --- a/test/unit/api/result_black.cpp +++ b/test/unit/api/result_black.cpp @@ -115,7 +115,7 @@ TEST_F(TestApiBlackResult, isEntailmentUnknown) CVC4::api::Result res = d_solver.checkEntailed(x.eqTerm(x)); ASSERT_FALSE(res.isEntailed()); ASSERT_TRUE(res.isEntailmentUnknown()); - ASSERT_EQ(res.getUnknownExplanation(), "UNKNOWN_REASON"); + ASSERT_EQ(res.getUnknownExplanation(), api::Result::UNKNOWN_REASON); } } // namespace test } // namespace CVC4 |