TrueTest.php 492 B

123456789101112131415161718192021
  1. <?php
  2. namespace PhpOffice\PhpSpreadsheetTests\Calculation\Functions\Logical;
  3. use PhpOffice\PhpSpreadsheet\Calculation\Functions;
  4. use PhpOffice\PhpSpreadsheet\Calculation\Logical;
  5. use PHPUnit\Framework\TestCase;
  6. class TrueTest extends TestCase
  7. {
  8. protected function setUp(): void
  9. {
  10. Functions::setCompatibilityMode(Functions::COMPATIBILITY_EXCEL);
  11. }
  12. public function testTRUE(): void
  13. {
  14. $result = Logical::TRUE();
  15. self::assertTrue($result);
  16. }
  17. }