Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7433027
MMLmnTest.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
594 B
Referenced Files
None
Subscribers
None
MMLmnTest.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\MMLmn
;
use
MediaWikiUnitTestCase
;
/**
* @covers \MediaWiki\Extension\Math\WikiTexVC\MMLnodes\MMLmn
*
* @group Math
*
* @license GPL-2.0-or-later
*/
class
MMLmnTest
extends
MediaWikiUnitTestCase
{
public
function
testConstructor
()
{
$mn
=
new
MMLmn
(
''
,
[
'mathvariant'
=>
Variants
::
BOLD
],
'3'
);
$this
->
assertEquals
(
"mn"
,
$mn
->
getName
()
);
$this
->
assertSame
(
"3"
,
$mn
->
getText
()
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Nov 22, 11:42 (3 h, 27 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
41/1a/5f0e1b06c8949bb1f2380d23dfec
Default Alt Text
MMLmnTest.php (594 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment