Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7403125
MMLmoTest.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
596 B
Referenced Files
None
Subscribers
None
MMLmoTest.php
View Options
<?php
namespace
MediaWiki\Extension\Math\Tests\WikiTexVC\MMLnodes
;
use
MediaWiki\Extension\Math\WikiTexVC\MMLmappings\TexConstants\Variants
;
use
MediaWiki\Extension\Math\WikiTexVC\MMLnodes\MMLmo
;
use
MediaWikiUnitTestCase
;
/**
* @covers \MediaWiki\Extension\Math\WikiTexVC\MMLnodes\MMLmo
*
* @group Math
*
* @license GPL-2.0-or-later
*/
class
MMLmoTest
extends
MediaWikiUnitTestCase
{
public
function
testConstructor
()
{
$mo
=
new
MMLmo
(
''
,
[
'mathvariant'
=>
Variants
::
BOLD
],
'+'
);
$this
->
assertEquals
(
"mo"
,
$mo
->
getName
()
);
$this
->
assertEquals
(
"+"
,
$mo
->
getText
()
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Nov 21, 18:27 (19 h, 11 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
89/86/5999ec871e360758d7783d2a1e38
Default Alt Text
MMLmoTest.php (596 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment