Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
UNEXENU committed Oct 25, 2024
1 parent 8588e81 commit 95f4199
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/OperationTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,11 @@ TEST_F(OperationTestFixture, getPrecomputedResultBecauseSiblingOfService) {
auto idTable = makeIdTableFromVector({{1, 6, 0}, {2, 5, 0}, {3, 4, 0}});
auto result = std::make_shared<const Result>(
idTable.clone(), std::vector<ColumnIndex>{0}, LocalVocab{});
operation.precomputedResultBecauseSiblingOfService_ =
operation.precomputedResultBecauseSiblingOfService() =
std::make_optional(result);
EXPECT_EQ(operation.getResult(), result);
EXPECT_FALSE(operation.precomputedResultBecauseSiblingOfService_.has_value());
EXPECT_FALSE(
operation.precomputedResultBecauseSiblingOfService().has_value());
}

// _____________________________________________________________________________
Expand Down

0 comments on commit 95f4199

Please sign in to comment.