Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7415390
BooleanTest.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
490 B
Referenced Files
None
Subscribers
None
BooleanTest.php
View Options
<?php
use
Eris\Generators
;
use
Eris\TestTrait
;
class
BooleanTest
extends
\PHPUnit\Framework\TestCase
{
use
TestTrait
;
public
function
testBooleanValueIsTrueOrFalse
()
{
$this
->
forAll
(
Generators
::
bool
()
)
->
then
(
function
(
$boolValue
)
{
$this
->
assertTrue
(
(
$boolValue
===
true
||
$boolValue
===
false
),
"$boolValue is not true nor false"
);
});
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Nov 22, 02:09 (1 d, 13 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
48/3a/85f11a292ff32240d58d3527a9cc
Default Alt Text
BooleanTest.php (490 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment