Skip to content

Conversation

@ColmBhandal
Copy link
Owner

@ColmBhandal ColmBhandal commented Jun 17, 2020

Description

The validated base type is public and abstract so can be extended in external code
The nonnegative and positive integer sutypes validate the integer accordingly
Tests for invalid and valid assignments are given
Note: the valid test cases make use of the implicit conversion operator defined on the abstract base type

The validated base type is public and abstract so can be extended in external code
The nonnegative and positive integer sutypes validate the integer accordingly
Tests for invalid and valid assignments are given
Note: the valid test cases make use of the implicit conversion operator defined on the abstract base type
@ColmBhandal ColmBhandal linked an issue Jun 17, 2020 that may be closed by this pull request
Copy link
Collaborator

@puniththota puniththota left a comment

Choose a reason for hiding this comment

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

See Hector's comment and implement the change

@ColmBhandal ColmBhandal merged commit e54e367 into master Jun 17, 2020
@ColmBhandal ColmBhandal deleted the feature/validated-types branch June 17, 2020 16:50
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.

Validated Types - Positive and Nonnegative Integer Types

4 participants