Skip to content

doc: add more examples and test for partitions #181

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 16 commits into
base: master
Choose a base branch
from

Conversation

inkydragon
Copy link
Member

@inkydragon inkydragon commented May 3, 2025

Add doc, examples and test for:

  • partitions(n::Integer)
  • partitions(n::Integer, m::Integer)
  • partitions(s::AbstractVector)
  • partitions(s::AbstractVector, m::Int)
    • stirlings2: Only add simple doc
  • integer_partitions(n)
  • ncpartitions(n::Int)
  • prevprod(a::Vector{Int}, x)

@inkydragon inkydragon added this to the v1.1.0 milestone May 3, 2025
@inkydragon inkydragon added the doc documentation label May 3, 2025
Copy link

codecov bot commented May 3, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.21%. Comparing base (2ad84aa) to head (c6266df).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #181   +/-   ##
=======================================
  Coverage   97.21%   97.21%           
=======================================
  Files           8        8           
  Lines         826      826           
=======================================
  Hits          803      803           
  Misses         23       23           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@inkydragon inkydragon changed the title doc: add examples and test for partitions doc: add more examples and test for partitions May 3, 2025
@inkydragon inkydragon marked this pull request as ready for review May 3, 2025 08:50
Copy link

@oameye oameye left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants