Skip to content

Commit 69381f1

Browse files
committed
documentation
1 parent 56c0bd8 commit 69381f1

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
@@ -18,6 +18,12 @@ This plugin afford math related expectations.
1818
expect(128)->not->toBePowerOf(3);
1919
```
2020

21+
#### `toBeMaxOf()`
22+
```php
23+
expect(6)->toBeMaxOf([-6, 0, 6]);
24+
expect(5.5)->not->toBeMaxOf([2, 4.2, 5.5, 6]);
25+
```
26+
2127
#### `toBeEven()`
2228
```php
2329
expect(6)->toBeEven();

0 commit comments

Comments
 (0)