Skip to content

Commit

Permalink
more mull
Browse files Browse the repository at this point in the history
  • Loading branch information
alfC committed Dec 19, 2024
1 parent 7eeb0d7 commit 8f4f413
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions test/sort.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,9 @@ auto main() -> int { // NOLINT(readability-function-cognitive-complexity,bugpro
BOOST_TEST(!(name2 > name1));
BOOST_TEST(!(name2 >= name1));

// BOOST_TEST(!(name1 > name2));
// BOOST_TEST(!(name1 > name2));
BOOST_TEST( name2[1] == 'a' );
BOOST_TEST( name2[2] == 'b' );
BOOST_TEST( name2[3] == 'c' );
}

BOOST_AUTO_TEST_CASE(lexicographical_compare_offset_2d) {
Expand Down Expand Up @@ -238,11 +239,15 @@ auto main() -> int { // NOLINT(readability-function-cognitive-complexity,bugpro
BOOST_TEST( name2 < name1 );
BOOST_TEST( name2 <= name1 );

// BOOST_TEST(!(name2 > name1));
// BOOST_TEST(!(name2 >= name1));

BOOST_TEST( name1 > name2 );
BOOST_TEST(!(name1 < name2));

BOOST_TEST( name2[1][0] == 'a' );
BOOST_TEST( name2[1][1] = 'a' );
BOOST_TEST( name2[2][0] = 'b' );
BOOST_TEST( name2[2][1] = 'a' );
BOOST_TEST( name2[3][0] = 'c' );
BOOST_TEST( name2[3][1] = 'a' );
}

BOOST_AUTO_TEST_CASE(accumulate_1d) {
Expand Down

0 comments on commit 8f4f413

Please sign in to comment.