Пример #1
0
 public function testFileBig_LargerThen2_32bites()
 {
     Assert::equal(TESTS_BIG_FILE_SIZE, (string) $this->driver->getFileSize(TESTS_BIG_FILE_PATH), "Driver " . get_class($this->getDriver()) . " failed for file with size over 2^32 bites");
 }
Пример #2
0
 /**
  * @return \Brick\Math\BigInteger
  * @throws Driver\Exception
  */
 public function getSize()
 {
     return $this->sizeDriver->getFileSize($this->path);
 }