Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7421067
MMLmnTest.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
512 B
Referenced Files
None
Subscribers
None
MMLmnTest.php
View Options
<?php
namespace
MediaWiki\Extension\Math\Tests\WikiTexVC\MMLnodes
;
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'
=>
'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, 05:16 (1 d, 1 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
1b/3c/004df432c8cf05cf850fb95c24dc
Default Alt Text
MMLmnTest.php (512 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment