/** * Test getting a sector time by sector number */ public function testSectorTimeByNumber() { // Init new lap $lap = new Lap(); $lap->addSectorTime(53.2312); $lap->addSectorTime(32.299); $lap->addSectorTime(45.2215); // Test sectors $this->assertSame(53.2312, $lap->getSectorTime(1)); $this->assertSame(32.299, $lap->getSectorTime(2)); $this->assertSame(45.2215, $lap->getSectorTime(3)); }