예제 #1
0
파일: PingTest.php 프로젝트: hydrawiki/ping
 public function testTtl()
 {
     $first = 220;
     $ping = new Ping($this->reachable_host, $first);
     $this->assertEquals($first, $ping->getTtl());
     $second = 128;
     $ping->setTtl($second);
     $this->assertEquals($second, $ping->getTtl());
 }