/** * @covers ::toBase */ public function testToBase() { $this->unit->setFactor(0.9144); $this->assertEquals(9.144, $this->unit->toBase(10)); }