示例#1
0
 /**
  * Test the compute test method
  * @depends testTrainTarget
  */
 public function testComputeTest(AlizePHP $alizeuser)
 {
     $otheruser = new AlizePHP($this->nameTwo);
     $otheruser->extractFeatures($this->filePathTwo);
     $otheruser->normaliseEnergy();
     $otheruser->detectEnergy();
     $otheruser->normaliseFeatures();
     $result = $otheruser->computeTest($alizeuser->getSpeaker());
     $this->assertFileExists($otheruser->getNdxFileName());
     $this->assertFileExists($otheruser->getResultsFileName());
     $this->assertInternalType('float', $result);
     $otheruser->cleanUserFiles();
     return $alizeuser;
 }