From 2dd35b4ba03509779d2c0703b2f33dde1f98e2fd Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 19 May 2024 03:53:37 +0200 Subject: [PATCH] add another bipartite test --- tests/Stdlib/Graph/GraphTest.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/Stdlib/Graph/GraphTest.php b/tests/Stdlib/Graph/GraphTest.php index 5e33bf1e4..ba097279a 100755 --- a/tests/Stdlib/Graph/GraphTest.php +++ b/tests/Stdlib/Graph/GraphTest.php @@ -891,6 +891,9 @@ final class GraphTest extends \PHPUnit\Framework\TestCase $node4->setNodeRelative($node5); self::assertTrue($this->graph->isBipartite()); + + $node0->setNodeRelative($node1); + self::assertFalse($this->graph->isBipartite()); } /**