コード例 #1
0
ファイル: MaxTest.php プロジェクト: shinichi81/eep-php
 /** 
  * @test 
  *
  * So this test is skipped, because compensate doesn't work. Need to 
  * think up a way of doing this without effective keeping the whole
  * window in memory. 
  */
 public function compensateRemovesNumber()
 {
     $this->markTestIncomplete();
     return;
     $max = new Max();
     $max->init();
     $max->accumulate(1);
     $max->accumulate(5);
     $max->compensate(5);
     $this->assertEquals(1, $max->emit());
 }