FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Adding unit test cases for PShapeOBJ addMaterials() and rgbaValue() by kishore4242 · Pull Request #1486 · processing/processing4 · GitHub

Adding unit test cases for PShapeOBJ addMaterials() and rgbaValue() - #1486

Open
kishore4242 wants to merge 1 commit into
processing:mainfrom
kishore4242:test/add-pshapeobj-tests
Open

Adding unit test cases for PShapeOBJ addMaterials() and rgbaValue()#1486
kishore4242 wants to merge 1 commit into
processing:mainfrom
kishore4242:test/add-pshapeobj-tests

Conversation

Copy link
Copy Markdown

Summary

Adds 5 comprehensive unit tests for PShapeOBJ class to improve test coverage
for material management and color conversion functionality.

Tests Added

  • testRgbaValueWhiteColor: Tests color to RGBA conversion
  • testAddMaterials: Tests single material addition
  • testAddMaterialsMultiple: Tests multiple materials with name verification
  • testAddMaterialWithNullValue: Tests edge case with null names
  • testAddMaterialDuplicateNameOverwritesHash: Tests duplicate name behavior

All tests pass locally: ./gradlew test

kishore4242 marked this pull request as draft March 25, 2026 17:37
kishore4242 marked this pull request as ready for review March 25, 2026 17:37
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

1 participant


Back | FazBrowse Home | New Git URL