public function testInYards() { $PoolLength = new PoolLength(); $PoolLength->setYards(27.34); $this->assertEquals(27.34, $PoolLength->yards()); $this->assertEquals('27.34 ' . DistanceUnitSystem::YARDS, $PoolLength->stringYards()); }