Файловый менеджер - Редактировать - /var/www/html/mediawiki-1.43.1/extensions/Math/tests/phpunit/unit/WikiTexVC/MMLmappings/OperatorDictionaryTest.php
Ðазад
<?php namespace MediaWiki\Extension\Math\Tests\WikiTexVC\MMLmappings; use MediaWiki\Extension\Math\WikiTexVC\MMLmappings\OperatorDictionary; use PHPUnit\Framework\TestCase; /** * @covers \MediaWiki\Extension\Math\WikiTexVC\MMLmappings\OperatorDictionary */ class OperatorDictionaryTest extends TestCase { public function testExistingOperatorWithU() { $this->assertNull( OperatorDictionary::getOperatorByKey( '\u3009' ) ); $this->assertNull( OperatorDictionary::getOperatorByKey( '〉' ) ); } public function testExistingOperatorNormal() { $op = OperatorDictionary::getOperatorByKey( '!' ); $this->assertIsArray( $op ); $this->assertCount( 1, $op ); } public function testExistingOperatorSpecial() { $op = OperatorDictionary::getOperatorByKey( '>' ); $this->assertIsArray( $op ); $this->assertCount( 2, $op ); $this->assertTrue( $op[1] ); } }
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка