Skip to content

Commit daa0b6a

Browse files
committed
Add tests for GraphProperty::isNull()
1 parent fd18f1f commit daa0b6a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/Property/PropertyGraphTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ public function testEmptyIsEdgeless()
1111

1212
$alg = new GraphProperty($graph);
1313

14+
$this->assertTrue($alg->isNull());
1415
$this->assertTrue($alg->isEdgeless());
1516
$this->assertFalse($alg->isTrivial());
1617
}
@@ -22,6 +23,8 @@ public function testSingleVertexIsTrivial()
2223

2324
$alg = new GraphProperty($graph);
2425

26+
$this->assertFalse($alg->isNull());
27+
$this->assertTrue($alg->isEdgeless());
2528
$this->assertTrue($alg->isTrivial());
2629
}
2730
}

0 commit comments

Comments
 (0)