Skip to content

Commit

Permalink
chore: update formatting tst_search.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
lievenhey authored and milianw committed Nov 18, 2024
1 parent 18119e2 commit b0e70bf
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
Expand Up @@ -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()
{
Expand Down

0 comments on commit b0e70bf

Please sign in to comment.