Ejemplo n.º 1
0
 public function testWithOnlyHRmax()
 {
     $HR = new HeartRate(150, new Athlete(null, 200));
     $this->assertTrue($HR->canShowInHRmax());
     $this->assertFalse($HR->canShowInHRrest());
     $this->assertEquals(75, $HR->inHRmax());
 }