Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7425619
MMLmoTest.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
514 B
Referenced Files
None
Subscribers
None
MMLmoTest.php
View Options
<?php
namespace
MediaWiki\Extension\Math\Tests\WikiTexVC\MMLnodes
;
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'
=>
'bold'
],
'+'
);
$this
->
assertEquals
(
"mo"
,
$mo
->
getName
()
);
$this
->
assertEquals
(
"+"
,
$mo
->
getText
()
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Nov 22, 08:00 (15 h, 18 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
1c/52/49aad75cfe9d7d72003563696ffc
Default Alt Text
MMLmoTest.php (514 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment