Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
Fhaculty
Graph
Tests
Edge
EdgeAttributesTest
testCapacityMustBePositive
Fhaculty\Graph\Tests\Edge\EdgeAttributesTest::testCapacityMustBePositive PHP Method
EdgeAttributesTest Class Documentation
Mostra file
Open project: clue/graph
testCapacityMustBePositive()
public
method
public
testCapacityMustBePositive
( )
public function testCapacityMustBePositive() { $this->edge->setCapacity(-10); }
EdgeAttributesTest
setUp
testCanSetFlowAndCapacity
testCanSetFlowBeforeCapacity
testCapacityMustBeGreaterThanFlow
testCapacityMustBeNumeric
testCapacityMustBePositive
testFlowMustBeNumeric
testFlowMustBePositive
testFlowMustNotExceedCapacity
testWeightMustBeNumeric