Beispiel #1
0
 /**
  * @test
  */
 public function shouldMergeThat()
 {
     $object = new Metrics($this->coverage);
     $that = new Metrics($this->coverage);
     $object->merge($that);
     $this->assertSame(6, $object->getStatements());
     $this->assertSame(4, $object->getCoveredStatements());
     $this->assertSame(400 / 6, $object->getLineCoverage());
 }