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 894a05e commit 38e8f42Copy full SHA for 38e8f42
src/Quant/Core/Tests/AbstractListTest.php
@@ -340,6 +340,24 @@ public function getType(): string
340
341
$cmpB2->a = 0;
342
$this->assertFalse($listCmpA->equals($listCmpB));
343
+
344
+ // plain
345
+ $abstractListA = $this->getAbstractListClass();
346
+ $abstractListB = $this->getAbstractListClass();
347
348
+ $this->assertTrue($abstractListA->equals($abstractListB));
349
350
+ $itemA = new stdClass();
351
+ $itemB = new stdClass();
352
353
+ $abstractListA[] = $itemA;
354
+ $this->assertFalse($abstractListA->equals($abstractListB));
355
356
+ $abstractListB[] = $itemA;
357
358
359
+ $abstractListB[] = $itemB;
360
361
}
362
363
0 commit comments