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