Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7440087
MMLmtextTest.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
544 B
Referenced Files
None
Subscribers
None
MMLmtextTest.php
View Options
<?php
namespace
MediaWiki\Extension\Math\Tests\WikiTexVC\MMLnodes
;
use
MediaWiki\Extension\Math\WikiTexVC\MMLnodes\MMLmtext
;
use
MediaWikiUnitTestCase
;
/**
* @covers \MediaWiki\Extension\Math\WikiTexVC\MMLnodes\MMLmtext
*
* @group Math
*
* @license GPL-2.0-or-later
*/
class
MMLmtextTest
extends
MediaWikiUnitTestCase
{
public
function
testConstructor
()
{
$mtext
=
new
MMLmtext
(
''
,
[
'mathvariant'
=>
'bold'
],
'test'
);
$this
->
assertEquals
(
"mtext"
,
$mtext
->
getName
()
);
$this
->
assertEquals
(
"test"
,
$mtext
->
getText
()
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Nov 22, 15:23 (1 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
25/2d/9b2725c85101021893183fde41cd
Default Alt Text
MMLmtextTest.php (544 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment