We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7ac9b1 commit 9bc41c0Copy full SHA for 9bc41c0
tests/Support/SupportLazyCollectionIsLazyTest.php
@@ -143,6 +143,13 @@ public function testContainsIsLazy()
143
});
144
}
145
146
+ public function testDoesntContainIsLazy()
147
+ {
148
+ $this->assertEnumerates(5, function ($collection) {
149
+ $collection->doesntContain(5);
150
+ });
151
+ }
152
+
153
public function testContainsStrictIsLazy()
154
{
155
$this->assertEnumerates(5, function ($collection) {
@@ -682,6 +689,13 @@ public function testMedianEnumeratesOnce()
682
689
683
690
684
691
692
+ public function testAvgEnumeratesOnce()
693
694
+ $this->assertEnumeratesOnce(function ($collection) {
695
+ $collection->avg();
696
697
698
685
699
public function testMergeIsLazy()
686
700
687
701
$this->assertDoesNotEnumerate(function ($collection) {
0 commit comments