Skip to content

[korowai/testing] Finish comparators. #23

@ptomulik

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.

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