MathPHP\SetTheory\ImmutableSetTest::testRemoveDoesNothing PHP Метод

testRemoveDoesNothing() публичный Метод

    public function testRemoveDoesNothing()
    {
        $A = new ImmutableSet([1, 2, 3, 4]);
        $B = $A->copy();
        $A->remove(1);
        $A->remove([2, 3]);
        $this->assertEquals($B, $A);
        $this->assertEquals($B->asArray(), $A->asArray());
    }