Skip to content

[Feature Request]: Add tests for NumberWithUnitsSubject and NumberWithUnitsTokenSubject #6151

@theMr17

Description

@theMr17

Is your feature request related to a problem? Please describe.

#6137 introduces two new custom Truth subjects: NumberWithUnitsSubject and NumberWithUnitsTokenSubject, which provide convenient assertion helpers for verifying properties of NumberWithUnits protos and NumberWithUnitsTokenizer.Token objects.

Describe the solution you'd like

Add dedicated test classes to thoroughly verify the behavior of both subjects introduced in #6137.

Describe alternatives you've considered

No response

Additional context

Similar issues: #4121, #4097

Metadata

Metadata

Assignees

No one assigned

    Labels

    Impact: MediumModerate perceived user impact (non-blocking bugs and general improvements).Work: MediumThe means to find the solution is clear, but it isn't at good-first-issue level yet.enhancementEnd user-perceivable enhancements.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions