From 9a00d4e226e61506987f49327335657c57f3459f Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 1 Apr 2017 17:38:09 +0200 Subject: [PATCH] #5: Add tests. --- tests/src/Iterators/RotationTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/src/Iterators/RotationTest.php b/tests/src/Iterators/RotationTest.php index 4c2cfc1..4a3cfe6 100644 --- a/tests/src/Iterators/RotationTest.php +++ b/tests/src/Iterators/RotationTest.php @@ -28,6 +28,7 @@ public function testRotation($input, $expected) { $rotation->rewind(); $this->assertSame($input['dataset'], $rotation->current()); + $this->assertEquals(count($input['dataset']), $rotation->count()); } /**