Skip to content

Improve MemSizeTest#337

Open
RomanPilyushin wants to merge 1 commit intoactivej:masterfrom
RomanPilyushin:Improve-MemSizeTest
Open

Improve MemSizeTest#337
RomanPilyushin wants to merge 1 commit intoactivej:masterfrom
RomanPilyushin:Improve-MemSizeTest

Conversation

@RomanPilyushin
Copy link
Copy Markdown

Improvements to MemSizeTest Class

This pull request enhances the MemSizeTest class with the following key improvements:

  • Expanded Test Coverage:

    • Added additional test cases to cover more edge conditions, including:
      • Large values approaching Long.MAX_VALUE.
      • Fractional units and their correct handling.
      • Negative values and zero.
      • Invalid inputs to verify proper exception handling.
  • Enhanced Exception Testing:

    • Included more scenarios for invalid inputs to validate that the appropriate exceptions are thrown with clear messages.
    • Tested for exceptions due to:
      • Fractional bytes where not allowed.
      • Negative values in unit methods.
      • Input strings with invalid formats or characters.
      • Potential overflows exceeding Long.MAX_VALUE.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant