Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F121915288
TestAbstractDirectedGraph.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Jul 14, 19:42
Size
326 B
Mime Type
text/x-php
Expires
Wed, Jul 16, 19:42 (2 d)
Engine
blob
Format
Raw Data
Handle
27412687
Attached To
rPHU libphutil
TestAbstractDirectedGraph.php
View Options
<?php
/**
* @group testcase
*/
final
class
TestAbstractDirectedGraph
extends
AbstractDirectedGraph
{
private
$nodes
;
public
function
setTestData
(
array
$nodes
)
{
$this
->
nodes
=
$nodes
;
return
$this
;
}
protected
function
loadEdges
(
array
$nodes
)
{
return
array_select_keys
(
$this
->
nodes
,
$nodes
);
}
}
Event Timeline
Log In to Comment