Skip to content

factor::tests: Check that powers of known-factorization numbers are factored correctly#1831

Merged
sylvestre merged 5 commits into
uutils:masterfrom
nicoonoclaste:factor/tests/exponentiate
Mar 17, 2021
Merged

factor::tests: Check that powers of known-factorization numbers are factored correctly#1831
sylvestre merged 5 commits into
uutils:masterfrom
nicoonoclaste:factor/tests/exponentiate

Conversation

@nicoonoclaste
Copy link
Copy Markdown
Contributor

@nicoonoclaste nicoonoclaste commented Mar 16, 2021

  • Minor refactor in recombine_factors (remove useless return value)
  • Add exponentiate_factors, checking factorizations of powers of factored numbers
  • Remove subsumed tests

Comment thread src/uu/factor/src/factor.rs Outdated
@sylvestre
Copy link
Copy Markdown
Contributor

I don't know enough about math but I am aware that you do and that our testsuite is pretty good now :)

@sylvestre sylvestre merged commit 955fa74 into uutils:master Mar 17, 2021
@nicoonoclaste nicoonoclaste deleted the factor/tests/exponentiate branch March 17, 2021 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants