public function vectorsWithSameContentsAreEqual() { $a = new Vector(array(new String('One'), new String('Two'))); $b = new Vector(array(new String('One'), new String('Two'))); $this->assertTrue($a->equals($b)); }
public function vectorsWithSameContentsAreEqual() { $a = new Vector([new Name('One'), new Name('Two')]); $b = new Vector([new Name('One'), new Name('Two')]); $this->assertTrue($a->equals($b)); }