public function testIndexOf() { $this->assertSame(0, $this->seq->indexOf(0)); $this->assertSame(1, $this->seq->indexOf($this->a)); $this->assertSame(2, $this->seq->indexOf($this->b)); $this->assertSame(-1, $this->seq->indexOf(1)); }