PhpSpreadsheet/tests/PhpSpreadsheetTests/Calculation/Functions/Information/NanTest.php

16 lines
347 B
PHP

<?php
namespace PhpOffice\PhpSpreadsheetTests\Calculation\Functions\Information;
use PhpOffice\PhpSpreadsheet\Calculation\Information\ExcelError;
use PHPUnit\Framework\TestCase;
class NanTest extends TestCase
{
public function testNAN(): void
{
$result = ExcelError::NAN();
self::assertEquals('#NUM!', $result);
}
}