We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| @@ 25-32 (lines=8) @@ | ||
| 22 | */ |
|
| 23 | class ConnectionBuilderTest extends AbstractConnectionBuilderTest |
|
| 24 | { |
|
| 25 | public function testBasicSlicing() |
|
| 26 | { |
|
| 27 | $actual = ConnectionBuilder::connectionFromArray($this->letters); |
|
| 28 | ||
| 29 | $expected = $this->getExpectedConnection($this->letters, false, false); |
|
| 30 | ||
| 31 | $this->assertEquals($expected, $actual); |
|
| 32 | } |
|
| 33 | ||
| 34 | public function testRespectsASmallerFirst() |
|
| 35 | { |
|
| @@ 43-50 (lines=8) @@ | ||
| 40 | $this->assertEquals($expected, $actual); |
|
| 41 | } |
|
| 42 | ||
| 43 | public function testRespectsAnOverlyLargeFirst() |
|
| 44 | { |
|
| 45 | $actual = ConnectionBuilder::connectionFromArray($this->letters, ['first' => 10]); |
|
| 46 | ||
| 47 | $expected = $this->getExpectedConnection($this->letters, false, false); |
|
| 48 | ||
| 49 | $this->assertEquals($expected, $actual); |
|
| 50 | } |
|
| 51 | ||
| 52 | public function testRespectsASmallerLast() |
|
| 53 | { |
|
| @@ 61-68 (lines=8) @@ | ||
| 58 | $this->assertEquals($expected, $actual); |
|
| 59 | } |
|
| 60 | ||
| 61 | public function testRespectsAnOverlyLargeLast() |
|
| 62 | { |
|
| 63 | $actual = ConnectionBuilder::connectionFromArray($this->letters, ['last' => 10]); |
|
| 64 | ||
| 65 | $expected = $this->getExpectedConnection($this->letters, false, false); |
|
| 66 | ||
| 67 | $this->assertEquals($expected, $actual); |
|
| 68 | } |
|
| 69 | ||
| 70 | public function testRespectsFirstAndAfter() |
|
| 71 | { |
|