Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7401025
MMLmrowTest.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
886 B
Referenced Files
None
Subscribers
None
MMLmrowTest.php
View Options
<?php
namespace
phpunit\unit\WikiTexVC\MMLNodes
;
use
MediaWiki\Extension\Math\WikiTexVC\MMLnodes\MMLmi
;
use
MediaWiki\Extension\Math\WikiTexVC\MMLnodes\MMLmn
;
use
MediaWiki\Extension\Math\WikiTexVC\MMLnodes\MMLmo
;
use
MediaWiki\Extension\Math\WikiTexVC\MMLnodes\MMLmrow
;
use
MediaWikiUnitTestCase
;
/**
* @covers \MediaWiki\Extension\Math\WikiTexVC\MMLnodes\MMLmrow
*
* @group Math
*
* @license GPL-2.0-or-later
*/
class
MMLmrowTest
extends
MediaWikiUnitTestCase
{
public
function
testConstructor
()
{
$mi
=
new
MMLmi
(
''
,
[],
'x'
);
$mo
=
new
MMLmo
(
''
,
[],
'+'
);
$mn
=
new
MMLmn
(
''
,
[],
'5'
);
$mrow
=
new
MMLmrow
(
''
,
[
'mathvariant'
=>
'bold'
],
$mi
,
$mo
,
$mn
);
$this
->
assertEquals
(
'mrow'
,
$mrow
->
getName
()
);
$this
->
assertEquals
(
[
'mathvariant'
=>
'bold'
],
$mrow
->
getAttributes
()
);
$this
->
assertEquals
(
$mrow
->
getChildren
(),
[
$mi
,
$mo
,
$mn
]
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Nov 21, 17:09 (12 h, 36 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
d0/e1/e3188c17d7c0d5d45b8a92ddc380
Default Alt Text
MMLmrowTest.php (886 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment