Skip to content

[korowai/testing] Finish comparators. #23

Description

@ptomulik

Interface:

  • Korowai\Testing\Properties\ComparatorInterface,

Classes:

  • Korowai\Testing\Properties\EqualityComparator,
  • Korowai\Testing\Properties\IdentityComparator.

The should be extended with:

  • identification method (like operator() or predicate()) which returns "equal to", or "identical to" respectivelly,
  • detection that two instances provide exactly same predicate, or implement them as a singleton (in a container).

Also, write tests for them.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions