forked from webmozarts/assert
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Assert::uniqueValues($values, $message = '') (webmozarts#93)
* Write expected tests for uniqueValues() * Implement uniqueValues() * Update README to include uniqueValues() * Refactor: save execution time counting the non-unique values just once * Fix invalid pushed value * Update check to use array_unique function * Relocate Assert::uniqueValues() into Type Assertions section * Compare 123 ans '123' to validate if they're unique values
- Loading branch information
1 parent
e434c23
commit 3503dd9
Showing
3 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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