Skip to content
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

Enhance partition list #208

Merged
merged 2 commits into from
Oct 8, 2023
Merged

Enhance partition list #208

merged 2 commits into from
Oct 8, 2023

Commits on Oct 8, 2023

  1. Add partition method for arrays in ListPartition class

    A new static method called 'of' has been add to the ListPartition class so that arrays can be used for partitioning. This was necessary to enhance functionality and help ease the process of partitioning arrays. This method turns the array into a list which can then be
    bobaikato committed Oct 8, 2023
    Configuration menu
    Copy the full SHA
    0fb2e40 View commit details
    Browse the repository at this point in the history
  2. Add equality tests and functionality for ListPartition class

    This commit adds the missing equality tests to the ListPartition class to ensure consistency. Before this change, there were no direct tests for the equals() and hashCode() methods, which are essential for verifying the consistency and behavior of the ListPartition objects. This commit also includes an additional test case for checking the partitioning functionality using arrays.
    bobaikato committed Oct 8, 2023
    Configuration menu
    Copy the full SHA
    44ed634 View commit details
    Browse the repository at this point in the history