Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93356637
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
Thu, Nov 28, 04:08
Size
326 B
Mime Type
text/x-php
Expires
Sat, Nov 30, 04:08 (2 d)
Engine
blob
Format
Raw Data
Handle
22623471
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