Skip to content

Commit

Permalink
fix valid mull
Browse files Browse the repository at this point in the history
  • Loading branch information
alfC committed Dec 23, 2024
1 parent fb75f3e commit bb9ddb7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion mull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,13 @@ mutators:
- cxx_init_const # Replaces ‘T a = b’ with ‘T a = 42’
- cxx_le_to_gt # Replaces <= with >
- cxx_le_to_lt # Replaces <= with <
- cxx_mul_to_div # Replaces / with *
- cxx_logical_and_to_or # Replaces && with ||
- cxx_logical_or_to_and # Replaces || with &&
- cxx_lshift_assign_to_rshift_assign # Replaces <<= with >>=
- cxx_lshift_to_rshift # Replaces << with >>
- cxx_lt_to_ge # Replaces < with >=
#- cxx_lt_to_le # Replaces < with <= # TODO(correaa) investigates why this mutant survices with the range.contains function
- cxx_mul_to_div # Replaces / with *
timeout: 1000 # in milliseconds
quiet: true # additional logging?
excludePaths:
Expand Down
1 change: 1 addition & 0 deletions test/utility.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ BOOST_AUTO_TEST_CASE(multi_utility_test) {
static_assert(num_elements(arr) == 6);
}
{
BOOST_TEST(multi::detail::valid_mull(21));
BOOST_TEST(multi::detail::valid_mull(22));
}
}
Expand Down

0 comments on commit bb9ddb7

Please sign in to comment.