示例#1
0
文件: test.php 项目: kletellier/adsb
 /**
  * Test CPR Latitude calculation odd and even
  * @return void
  */
 public function testCPN()
 {
     $val = AdsbUtils::cprN(45, false);
     $this->assertEquals(42, $val);
     $val = AdsbUtils::cprN(45, true);
     $this->assertEquals(41, $val);
 }