Page Menu
Home
Code
Search
Configure Global Search
Log In
Files
F8521068
SectorModifierTest.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
490 B
Subscribers
None
SectorModifierTest.php
View Options
<?php
declare
(
strict_types
=
1
);
namespace
Zed\Tests\Engines\Templates\Smarty\Plugins
;
use
GeoLocation
;
require_once
'includes/geo/location.php'
;
class
SectorModifierTest
extends
SmartyPluginTestCase
{
public
function
setUp
()
:
void
{
$this
->
requirePlugin
(
'modifier'
,
'sector'
);
}
public
function
testPluginWithValidData
()
{
$location
=
new
GeoLocation
(
"B00001002"
,
"(4,2,7)"
);
$this
->
assertEquals
(
"6"
,
smarty_modifier_sector
(
$location
));
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, Mar 2, 07:54 (3 w, 1 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
21641
Default Alt Text
SectorModifierTest.php (490 B)
Attached To
rZED Zed
Event Timeline
Log In to Comment