Skip to content

Commit 12ef744

Browse files
committed
documentation
1 parent 5022635 commit 12ef744

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: README.md

+6
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,9 @@ This plugin afford math related expectations.
6060
expect(6)->toBeFactorialOf(3);
6161
expect(4)->not->toBeFactorialOf(2);
6262
```
63+
64+
#### `toBeMaxOf()`
65+
```php
66+
expect(6)->toBeMaxOf([-6, 0, 6]);
67+
expect(5.5)->not->toBeMaxOf([2, 4.2, 5.5, 6]);
68+
```

0 commit comments

Comments
 (0)