Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update formatting tst_search.cpp
Browse files Browse the repository at this point in the history
lievenhey committed Nov 18, 2024
1 parent f3d84fb commit 02d2670
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions tests/modeltests/tst_search.cpp
Original file line number Diff line number Diff line change
@@ -23,12 +23,10 @@ private slots:
{
const std::array<int, 0> testArray = {};

QCOMPARE(search(
testArray.cbegin(), testArray.cend(), 0, Direction::Forward, [](int) { return false; }, [] {}),
-1);
QCOMPARE(search(
testArray.cbegin(), testArray.cend(), 0, Direction::Backward, [](int) { return false; }, [] {}),
-1);
QCOMPARE(
search(testArray.cbegin(), testArray.cend(), 0, Direction::Forward, [](int) { return false; }, [] {}), -1);
QCOMPARE(
search(testArray.cbegin(), testArray.cend(), 0, Direction::Backward, [](int) { return false; }, [] {}), -1);
}
void testSearch()
{

0 comments on commit 02d2670

Please sign in to comment.