示例#1
0
 public function testNotGreaterAfterBago()
 {
     $bagos = 1;
     $bide1 = new Bid(3, 1);
     $bide2 = new Bid(3, 2);
     $this->assertFalse($bide2->greaterThan($bide1, $bagos));
     $bide2 = new Bid(2, 1);
     $this->assertFalse($bide2->greaterThan($bide1, $bagos));
 }